BrowserDrivers.rst 1.1 KB

12345678910111213141516171819202122232425262728
  1. Handling of Browser Drivers
  2. ===========================
  3. When you install ``baangt`` the latest version of Chromedriver and Geckodriver (for Firefox) are included. Depending on your
  4. situation you might need different drivers.
  5. New release of browser drivers
  6. ------------------------------
  7. As you work with ``baangt`` for a longer time your browsers might be updated. If you receive an error telling about wrong
  8. version of browser driver, you can simply delete the existing driver in ``baangt/BrowserDrivers/`` and on the next start
  9. ``baangt`` will automatically download the latest version.
  10. Alternative version:
  11. ^^^^^^^^^^^^^^^^^^^^
  12. If you start baangt with the following syntax from the command line, it will download the latest drivers (Chrome and
  13. Firefox) automatically:
  14. ```python3 baangt.py --reloadDrivers=True```
  15. It will overwrite existing versions.
  16. Older releases of browser drivers
  17. ---------------------------------
  18. Please download the release that you need from chrome and/or Firefox and replace the existing files in ``baangt/BrowserDrivers/``
  19. which the freshly downloaded, older version. After the next start it should work fine.