Re: Fwd: WebDriver automation in Epiphany

MC Moe via epiphany-list <[email protected]> Wed, 19 Dec 2018 18:39:43 +0100
Newsgroups gmane.comp.gnome.apps.epiphany
Message-ID <CACD2VGU-zFCkJxQodrEUOXgCwn52Z-JYbFwJqW=-qMqpgHdvVg@mail.gmail.com>
--===============8717496661224571471==
Content-Type: multipart/alternative; boundary="0000000000007e1bf9057d638015"

--0000000000007e1bf9057d638015
Content-Type: text/plain; charset="UTF-8"

Thanks for the reply Michael. When will Epiphany support web automation
though? From my understanding, the browser itself should allow web
automation in order for it ti be controlled by the WebDriver. For example
it should set the webkit_web_context_set_automation_allowed (
https://github.com/WebKit/webkit/blob/9029c43e695bf886fffb15eec951f0605e34509b/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp#L657)
as is done in the MiniBrowser (
https://github.com/WebKit/webkit/blob/4ebd14639070dc46124d870d7583ed05a6511ff8/Tools/MiniBrowser/wpe/main.cpp#L179
)

Best,
Moe

On Tue, Dec 18, 2018 at 8:22 PM Michael Catanzaro <[email protected]>
wrote:

>
> On Tue, Dec 18, 2018 at 11:14 AM, MC Moe via epiphany-list
> <[email protected]> wrote:
> > Hello,
> >
> > I was wondering whether you are planning to support web automation
> > via the WebKitGTK Driver. This would allows to drive the Epiphany
> > browser via Selenium (at least using a python client as it is the
> > only implementation to date implemented for WebKitGTK in Selenium)
> >
> > The only information I can find is in this blog post
> >
> https://blogs.igalia.com/carlosgc/2017/09/09/webdriver-support-in-webkitgtk-2-18/
> > over a year old that mentions next steps of such support.
> >
> > Any insights?
> >
> > Best,
> > Moe
>
> We're planning to create a separate EpiphanyDriver. No ETA on that as
> of yet. In the meantime, the web content rendering of WebKitWebDriver
> should be very close to Epiphany.
>
> Michael
>
>

--0000000000007e1bf9057d638015
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">Thanks for the reply Mic=
hael. When will Epiphany support web automation though? From my understandi=
ng, the browser itself should allow web automation in order for it ti be co=
ntrolled by the WebDriver. For example it should set the=C2=A0<span style=
=3D"color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,&quot;Liberatio=
n Mono&quot;,Menlo,Courier,monospace;font-size:12px;white-space:pre">webkit=
_web_context_set_automation_allowed</span>=C2=A0(<a href=3D"https://github.=
com/WebKit/webkit/blob/9029c43e695bf886fffb15eec951f0605e34509b/Source/WebK=
it/UIProcess/API/glib/WebKitWebContext.cpp#L657">https://github.com/WebKit/=
webkit/blob/9029c43e695bf886fffb15eec951f0605e34509b/Source/WebKit/UIProces=
s/API/glib/WebKitWebContext.cpp#L657</a>) as is done in the MiniBrowser (<a=
 href=3D"https://github.com/WebKit/webkit/blob/4ebd14639070dc46124d870d7583=
ed05a6511ff8/Tools/MiniBrowser/wpe/main.cpp#L179">https://github.com/WebKit=
/webkit/blob/4ebd14639070dc46124d870d7583ed05a6511ff8/Tools/MiniBrowser/wpe=
/main.cpp#L179</a>)</div><div dir=3D"ltr"><br></div><div>Best,</div><div>Mo=
e</div></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, =
Dec 18, 2018 at 8:22 PM Michael Catanzaro &lt;<a href=3D"mailto:mcatanzaro@=
igalia.com">[email protected]</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><br>
On Tue, Dec 18, 2018 at 11:14 AM, MC Moe via epiphany-list <br>
&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">epiphany-l=
[email protected]</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt; <br>
&gt; I was wondering whether you are planning to support web automation <br=
>
&gt; via the WebKitGTK Driver. This would allows to drive the Epiphany <br>
&gt; browser via Selenium (at least using a python client as it is the <br>
&gt; only implementation to date implemented for WebKitGTK in Selenium)<br>
&gt; <br>
&gt; The only information I can find is in this blog post <br>
&gt; <a href=3D"https://blogs.igalia.com/carlosgc/2017/09/09/webdriver-supp=
ort-in-webkitgtk-2-18/" rel=3D"noreferrer" target=3D"_blank">https://blogs.=
igalia.com/carlosgc/2017/09/09/webdriver-support-in-webkitgtk-2-18/</a> <br=
>
&gt; over a year old that mentions next steps of such support.<br>
&gt; <br>
&gt; Any insights?<br>
&gt; <br>
&gt; Best,<br>
&gt; Moe<br>
<br>
We&#39;re planning to create a separate EpiphanyDriver. No ETA on that as <=
br>
of yet. In the meantime, the web content rendering of WebKitWebDriver <br>
should be very close to Epiphany.<br>
<br>
Michael<br>
<br>
</blockquote></div>

--0000000000007e1bf9057d638015--

--===============8717496661224571471==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
epiphany-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/epiphany-list

--===============8717496661224571471==--