Setting up for Selenium
- Open Windows’ Command Prompt (cmd)
- pip install selenium
By adding a folder containing WebDriver’s binaries to PATH, Selenium will be able to locate the additional binaries (e.g. ChromeDriver) without requiring your test code to manually locate the driver’s location.
VS Code IDE: If running directly fails, at its Terminal cd to file directory and run file: python <filename>.py