Skip to content

Setting up a Selenium or Appium server

tpronk edited this page Dec 12, 2022 · 6 revisions

Home - WebdriverIO testing - Setting up a Selenium or Appium server


Setting up a local Selenium 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:

  1. 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.
  2. If you'd like to install drivers for Safari and Edge, see below.

Installing a Safari driver

Note that Safari is not supported by the Selenium Standalone Service. For Safari, see explanation on how to enable its webdriver here.

Installing an Edge driver

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.

Clone this wiki locally