You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: