Is it possible to use Chromedriver with Watir on c9?



Hello, so I’ve been scraping some some websites with Ruby on Rails, and I’ve been using phantomjs as my headless browser which has been working really well, but unfortunately Selenium no longer supports phantomjs and it broke a bunch of my code. So I’ve been trying to use Chrome or Firefox with Watir, but I don’t know how to write an executable path to the browser. If anyone here Reddits, I will totally give you Reddit gold if you can help me get this working. I’ve been trying to figure it out for the last couple weeks now, only managing to accomplish big headaches.


You’ll have to install Chrome or Firefox in the workspace; we don’t currently ship with an installed version. Once you have that, you should be able to set the path to the executable.