[Webkit-unassigned] [Bug 241597] New: [WebDriver] Automation session for already running browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 14 09:11:05 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=241597

            Bug ID: 241597
           Summary: [WebDriver] Automation session for already running
                    browsers
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: armin.co at vorwerk.de
                CC: bburg at apple.com

When doing automated tests with Selenium/WebDriver, the WebDriver binary associated with a given browser is in charge of spawing the Browser and connecting to it. But in some special cases e.g. when using browsers on embedded devices which are deeply integrated into the system it may not be possible for the BrowserDriver to start the browser. This creates the need for a way to connect to an already running browser and being able to take over this live session, controlling it remotely.

Some rough steps:

1. The browser has to be started in a way, configured by the system, that it will listen/accept a connection for a automation session.
2.The BrowserDriver needs the capability to connect to a already running browser. For being able to do that it has to receive the information where to connect to by the test framework as the BrowserDriver no longer can decide on which port and address it will connect/setup the browser.
3. In the test framework the option has to be added where the information about the already running browser can be added.

I have already a draft of a patch which adds this feature, but it lacks the capability of opening a new/second automation session after the first one was closed/exited.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220614/67cd8032/attachment.htm>


More information about the webkit-unassigned mailing list