-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[🐛 Bug]: Documentation for Remote WebDriver is at odds with deprecation warning. #1366
Comments
@v-kumar, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
After troubleshooting the issue, please add the Thank you! |
Yes, that code example is very much out of date. As to the deprecation warning, instead of working with:
work with:
The object has attribute accessors for each of the things you can change ( |
It's not still clear how to configure the remote browser based on the above information. Is just passing browser: :remote, good enough? Capybara::Selenium::Driver.new app, browser: :remote, options: options, |
I'm not a capybara expert, but this is the example code I have that works: https://github.com/saucelabs-training/demo-ruby/blob/main/selenium-examples/capybara-rspec/spec/spec_helper.rb#L16-L41 |
Ah yes chromus depricatus |
@harsha509 I think this issue can probably be closed. The Browser Options section, and the referenced example, is no longer present in the Remote Webdriver Page |
Documentation for using the Options class is now available, along with updated code examples: Chrome Options. Closing as resolved! |
What happened?
Using ruby, for remote driver, the following example gives deprecation warning.
URL: https://www.selenium.dev/documentation/webdriver/drivers/remote_webdriver/
However, it is not clear how to use Options only instead.
What browsers and operating systems are you seeing the problem on?
ruby selenium web-driver, v 4.8.x
The text was updated successfully, but these errors were encountered: