Hi,
I have been using the code below until yesterday it was working all fine but today I am seeing this message:
In my Cucumber Hooks file I have:
Before do
Selenium::WebDriver::PhantomJS.path = 'C:\phantomjs-2.1.1-windows\bin\phantomjs.exe'
@browser = Watir::Browser.start "https://www.google.com" ,:phantomjs
@browser.window.maximize
@browser.wait
end
LoadError: cannot load such file -- selenium/webdriver/phantomjs
Can someone please tell me what is the problem?
Thanks