Closed madhan-kumaravel closed 4 years ago
Running for the second time (after chromedriver has downloaded) produces the following error.
/Users/madhan_kumaravel/.webdrivers/chromedriver
ChromeDriver 80.0.3987.106 (f68069574609230cf9b635cd784cfb1bf81bb53a-refs/branch-heads/3987@{#882})
/Users/madhan_kumaravel/.rvm/gems/ruby-2.2.8/gems/webdrivers-3.0.0/lib/webdrivers/chromedriver.rb:14:in `current': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/madhan_kumaravel/.rvm/gems/ruby-2.2.8/gems/webdrivers-3.0.0/lib/webdrivers/common.rb:13:in `update'
from /Users/madhan_kumaravel/.rvm/gems/ruby-2.2.8/gems/webdrivers-3.0.0/lib/webdrivers/selenium.rb:7:in `driver_path'
from /Users/madhan_kumaravel/.rvm/gems/ruby-2.2.8/gems/selenium-webdriver-3.12.0/lib/selenium/webdriver/chrome/driver.rb:37:in `initialize'
from /Users/madhan_kumaravel/.rvm/gems/ruby-2.2.8/gems/selenium-webdriver-3.12.0/lib/selenium/webdriver/common/driver.rb:44:in `new'
from /Users/madhan_kumaravel/.rvm/gems/ruby-2.2.8/gems/selenium-webdriver-3.12.0/lib/selenium/webdriver/common/driver.rb:44:in `for'
from /Users/madhan_kumaravel/.rvm/gems/ruby-2.2.8/gems/selenium-webdriver-3.12.0/lib/selenium/webdriver.rb:86:in `for'
from /Users/madhan_kumaravel/.rvm/gems/ruby-2.2.8/gems/capybara-3.1.1/lib/capybara/selenium/driver.rb:38:in `browser'
from /Users/madhan_kumaravel/.rvm/gems/ruby-2.2.8/gems/capybara-3.1.1/lib/capybara/selenium/driver.rb:65:in `visit'
from /Users/madhan_kumaravel/.rvm/gems/ruby-2.2.8/gems/capybara-3.1.1/lib/capybara/session.rb:273:in `visit'
from base_class.rb:8:in `<class:BaseClass>'
from base_class.rb:3:in `<main>'
Somehow it's working now. So closing this ticket.
Summary
I am using webdrivers gem to manage chromedriver. And this results in a version conflict.
Debug Info
Expected Behavior
Should launch chrome browser
Actual Behavior