-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
[grid] honor client-advertised se:remoteUrl for reachable BiDi/CDP/VNC URLs #17790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Changes from 1 commit
b3412c0
9a20e5d
c8274b1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -650,6 +650,11 @@ class Builder { | |
|
|
||
| if (url) { | ||
| this.log_.fine('Creating session on remote server') | ||
|
|
||
| if (typeof url === 'string') { | ||
| capabilities.set('se:remoteUrl', url) | ||
| } | ||
|
Comment on lines
+654
to
+656
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Zero functional impact. The only thenable url source is startSeleniumServer(SELENIUM_SERVER_JAR) (line 647), which starts a local server and resolves to its localhost address. That's precisely the case where se:remoteUrl is pointless |
||
|
|
||
| let client = Promise.resolve(url).then((url) => new _http.HttpClient(url, this.agent_, this.proxy_)) | ||
| let executor = new _http.Executor(client) | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.