3) ユーザー登録 ユーザー情報に不備がある場合 新規登録に失敗する
Got 0 failures and 2 other errors:
3.1) Failure/Error: visit '/register'
Selenium::WebDriver::Error::WebDriverError:
Unable to find chromedriver. Please download the server from
https://chromedriver.storage.googleapis.com/index.html and place it somewhere on your PATH.
More info at https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver.
Fetching webdrivers-5.0.0.gem
Successfully installed webdrivers-5.0.0
Parsing documentation for webdrivers-5.0.0
Installing ri documentation for webdrivers-5.0.0
Done installing documentation for webdrivers after 0 seconds
1 gem installed
irb(main):001:0> require 'selenium-webdriver'
=> true
irb(main):002:0> driver = Selenium::WebDriver.for :chrome
Traceback (most recent call last):
1: from (irb):2
Selenium::WebDriver::Error::WebDriverError (Unable to find chromedriver. Please download the server from)
https://chromedriver.storage.googleapis.com/index.html and place it somewhere on your PATH.
More info at https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver.
発生しているエラー
試したこと
3.下記コマンドをirbで実行。selenium-web-driverはインストールされていることを確認。
https://blog.naichilab.com/entry/mac-chromedriver