WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
241597
[WebDriver] Automation session for already running browsers
https://bugs.webkit.org/show_bug.cgi?id=241597
Summary
[WebDriver] Automation session for already running browsers
Armin Co
Reported
2022-06-14 09:11:05 PDT
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.
Attachments
Patch for live automation session
(4.50 KB, patch)
2022-06-14 09:37 PDT
,
Armin Co
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Armin Co
Comment 1
2022-06-14 09:37:26 PDT
Created
attachment 460234
[details]
Patch for live automation session
Radar WebKit Bug Importer
Comment 2
2022-06-21 09:12:13 PDT
<
rdar://problem/95605569
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug