Skip to content

Selenium

Colin Robbins edited this page Mar 29, 2024 · 2 revisions

The Swim-England and Facebook feature works by using a Web Browser. To do this it uses a tool called Selenium.

As of 1.9.4 this configuration is no longer needed

You will need to configure SCM-Helper to enable it to access your Browser, by adding the following to your config.yaml file:

selenium:
    browser: "Chrome"
    web_driver: "C:\\Program Files (x86)\\Python37-32\\Scripts\\chromedriver.exe"
 

The example assumes you use the Chrome browser. If you use a different browser, you will need to adjust accordingly.

Web Driver

Selenium needs an additional file to access your browser - the web driver.

Chrome

In the example this file is chromedriver.exe, downloadable here. When downloaded, extract the executable from the ZIP file, and edit config.yaml to point to the file.

Other browsers

It should be possible to use other browsers, but I've not tested it.

Clone this wiki locally