-
Notifications
You must be signed in to change notification settings - Fork 2
Setting up a Selenium or Appium server
Home - WebdriverIO testing - Setting up a Selenium or Appium server
Installation of the PsychoJS repo comes with a Selenium Standalone service that includes drivers for Chrome and Firefox. However, you might need to update ./scripts/shared/wdio.conf.js to have the driver version numbers match the versions of Chrome and Firefox that are installed on your device.
In two cases you might need to manually install a driver:
- Sometimes, the Selenium Standalone Service is not yet up-to-date with the newest versions of a browser. In that case, download an start the Selenium driver in a separate process. The driver for Chrome can be found here.
- If you'd like to install drivers for Safari and Edge, see below.
Note that Safari is not supported by the Selenium Standalone Service. For Safari, see explanation on how to enable its webdriver here.
Edge was tricky to get to work. A workaround (as described here is downloading the Edge driver; renaming it to MicrosoftWebDriver.exe, then starting the server via: webdriver-manager start. However, this workaround caused issues with Edge reporting errors after rebooting my computer. Hence, I recommend not to apply this workaround, but use BrowserStack instead.