Tue, 26 Apr 2016 06:36:41 -0700 (PDT) Charles Wesley
Is it possible to instantiate a WebDriver object from inside a web
application? Our team has a Maven Java project where we instantiate
a WebDriver object to perform some UI-based configuration on our
If what you want to achieve is to re-use the session that started and
controls the browser from within a content document, you may be
interested in WebDriver.js.

It implements a “meta-circular” client that allows an in-content JS
client to assume control over the existing WebDriver session. This
would let you control the browser from within the document.
Now we want to take some of the classes from that project,
compile them, and call them from within a web application. Is this
What you’re talking about here is a content JS-to-Java bridge. I’m not
sure about the feasibility of that. What you’d need is a wire protocol
for the document to be able to RPC the Java process. This is, in
essence, what WebDriver provides for the WebDriver API.

You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/20160427103946.b6d5d7be3242d38d0e7ae435%40mozilla.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupselenium-users @
postedApr 26, '16 at 1:36p
activeApr 27, '16 at 9:39a



site design / logo © 2021 Grokbase