-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Unable to run Safari Technology Preview with Selenium standalone server #6791
Comments
fwiw, this is what I'm currently getting when passing in to the grid built from trunk: 2020-07-11 12:14:33 INFO Selenium -> POST session |
So, this boils down to the way that we configure the server. Right now, the We have two choices:
I think the second is neater, but the first is a lot easier to do :) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
According to this commit (6e09f51) you should be able to switch between Safari and Safari Technology Preview by using the respective browser name ("Safari Technology Preview").
selenium/java/client/src/org/openqa/selenium/safari/SafariOptions.java
Line 195 in b623788
It seems whatever you specify as capabilities is discarded and reset upon creation of new
SafariOptions
instance:selenium/java/client/src/org/openqa/selenium/safari/SafariOptions.java
Lines 72 to 75 in b623788
Simply put, it does not respect the specified
browserName
value.To Reproduce
Logs
Expected behavior
Upon specifying "Safari Technology Preview" as
browserName
when running Selenium standalone server, it should utilize the corresponding safaridriver executable located within the Technology Preview application.Environment
OS: macOS High Sierra 10.13.6
Browser: Safari
Browser version: Technology Preview release 72 (12.1, 13607.1.17.1)
Browser Driver version:
Language Bindings version: Standalone server 3.141.59
Additional context
As alternative there is the deprecated
safari.options.technologyPreview
(desired) capability which does work, however does not comply with W3C standard for capabilities, unlike the previously removed vendor-prefixedse:safari:techPreview
capability.This imposes a problem when using an implementation to communicate with Selenium, which has strict compliance with W3C standard (e.g. webdriverio) and/or does not allow you to specify
desiredCapabilities
different thancapabilities
.The text was updated successfully, but these errors were encountered: