Skip to content

Need more detailed explainations for the configurations of selenium-grid #1655

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

Closed
lzt007 opened this issue Apr 3, 2024 · 2 comments
Closed

Comments

@lzt007
Copy link

lzt007 commented Apr 3, 2024

As is shown in Grid>Configuration>Toml Options>Configuring and customising drivers. We can configure different browsers on a single node by set like the given example:

[node]
detect-drivers = false
[[node.driver-configuration]]
max-sessions = 100
display-name = "Firefox Nightly"
stereotype = "{\"browserName\": \"firefox\", \"browserVersion\": \"93\", \"platformName\": \"MAC\", \"moz:firefoxOptions\": {\"binary\": \"/Applications/Firefox Nightly.app/Contents/MacOS/firefox-bin\"}}"
[[node.driver-configuration]]
display-name = "Chrome Beta"
stereotype = "{\"browserName\": \"chrome\", \"browserVersion\": \"94\", \"platformName\": \"MAC\", \"goog:chromeOptions\": {\"binary\": \"/Applications/Google Chrome Beta.app/Contents/MacOS/Google Chrome Beta\"}}"
[[node.driver-configuration]]
display-name = "Chrome Dev"
stereotype = "{\"browserName\": \"chrome\", \"browserVersion\": \"95\", \"platformName\": \"MAC\", \"goog:chromeOptions\": {\"binary\": \"/Applications/Google Chrome Dev.app/Contents/MacOS/Google Chrome Dev\"}}"
webdriver-executable = '/path/to/chromedriver/95/chromedriver'

We can use a key "moz:firefoxOption" for firefox and "goog:chromeOption" for chrome. My question is, what should I use when configure browsers such as edge, ie or other supported browsers? I can't find a way to check what key-name should I use espically the abbreviations like "moz:","goog:"

There are also same questions in other examples like "networkname:applicationName":"node_1",""appium:platformVersion","gsg:customcap"
I think those kind of key-names like str1:str2 need more detailed explainations for their meanings. What does str1 and str2 mean or it’s just a no meaning varname with “:” . Where can I find all the supported keys like that for the option?Is those keys same for all type of browsers? If not, what are they.

Copy link
Contributor

github-actions bot commented Apr 3, 2024

@lzt007, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@lzt007 lzt007 changed the title [🚀 Feature]: Need more examples for browsers like edge and ie in configuration for selenium-grid [🚀 Feature]: Need more detailed explainations for the configurations of selenium-grid Apr 3, 2024
@lzt007 lzt007 changed the title [🚀 Feature]: Need more detailed explainations for the configurations of selenium-grid Need more detailed explainations for the configurations of selenium-grid Apr 3, 2024
@diemol
Copy link
Member

diemol commented Apr 9, 2024

Edge is ms:edgeOptions.

IE is se:ieOptions.

The last part refers to custom capabilities for matching.

@diemol diemol closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants