Giter VIP home page Giter VIP logo

Comments (7)

gazayas avatar gazayas commented on June 3, 2024 1

@jagthedrummer I got the system tests to pass while using a live browser on MacOSX by setting the following two values specifically to :selenium_chrome

Capybara.javascript_driver = ENV["MAGIC_TEST"].present? ? :selenium_chrome : :selenium_chrome_headless
Capybara.default_driver = ENV["MAGIC_TEST"].present? ? :selenium_chrome : :selenium_chrome_headless

from bullet_train.

pascallaliberte avatar pascallaliberte commented on June 3, 2024

I then clicked "Move to Trash" and now I get this when running rails test:system.

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.

from bullet_train.

pascallaliberte avatar pascallaliberte commented on June 3, 2024

Tried:

gem uninstall webdrivers
bundle install

No change

from bullet_train.

gazayas avatar gazayas commented on June 3, 2024

@pascallaliberte I had the same issue with Linux, I followed these steps to get the tests working again:

> wget -N http://chromedriver.storage.googleapis.com/101.0.4951.41/chromedriver_linux64.zip -P ~/Downloads
> unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads
> sudo mv -f ~/Downloads/chromedriver /usr/local/share/
> sudo chmod +x /usr/local/share/chromedriver

from bullet_train.

pascallaliberte avatar pascallaliberte commented on June 3, 2024

Also see #235

from bullet_train.

jagthedrummer avatar jagthedrummer commented on June 3, 2024

@gazayas @pascallaliberte Is this still an issue that we should deal with in some way? I haven't run into this particular flavor of error with chromedriver, though I did run into something kinda similar in #818, which we fixed in #819.

from bullet_train.

jagthedrummer avatar jagthedrummer commented on June 3, 2024

Cool, sounds like this is fixed.

from bullet_train.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.