Skip to content
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

Guide for Starting a Session #173

Open
AbdulwahabAlbahrani opened this issue Jun 4, 2021 · 0 comments
Open

Guide for Starting a Session #173

AbdulwahabAlbahrani opened this issue Jun 4, 2021 · 0 comments

Comments

@AbdulwahabAlbahrani
Copy link

How can I choose the browser?
when I tried
browser = Watir::Browser.new :firefox
I get this error:
'
/usr/local/lib/ruby/gems/3.0.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/firefox/driver.rb:31:in new': wrong number of arguments (given 1, expected 0) (ArgumentError) from /usr/local/lib/ruby/gems/3.0.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/common/driver.rb:54:in for'
from /usr/local/lib/ruby/gems/3.0.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver.rb:88:in for' from /usr/local/lib/ruby/gems/3.0.0/gems/watir-6.19.1/lib/watir/browser.rb:46:in initialize'
from testWatir.rb:4:in new' from testWatir.rb:4:in

'
'

thank you for this amazing tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant