Alternatively, if you have a Mac and have homebrew installed, you could just type brew cask install chromedriver into your terminal. Now it should work with Chrome when you behat. For running Chrome browser tests on your local machine you need to download ChromeDriver from the project website and make it available on your machine by setting the PATH to the ChromeDriver executable. If you are a coder, developer, Terminal lover, or more tech-savvy than an average Mac user, you can use Homebrew to simplify software installation on your Mac. I still need to look up and try setting this in the behat.yml for now I just ran it this way java -jar =/opt/google/chrome/chromedriver Homebrew is an open-source package manager for macOS that offers an easy way to install software and tolls through the command line. For Ubuntu 14.04 it was /opt/google/chrome/chromedriver Resolved issue 3631: Add support for the webauthn:extension:largeBlob capability Resolved issue 3635: Chromedriver 86 - chromedriver. Once you find the path Chrome was installed you place the driver in there. Setting up Chrome driver with Behat and Selenium2 Side note for Mac brew install chromedriver
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |