Opened 7 years ago
Last modified 7 years ago
#29883 closed New feature
Support running remote Selenium tests with runtests.py — at Initial Version
| Reported by: | Tom Forbes | Owned by: | nobody |
|---|---|---|---|
| Component: | Testing framework | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Currently runtests.py supports running Selenium tests using a local browser only. This can make running tests against specific versions quite hard.
Selenium supports a feature called 'hub': https://github.com/SeleniumHQ/docker-selenium/wiki/Getting-Started-with-Docker-Compose#python
A hub backed webdriver is compatible with a local one, so no tests need to be updated. A flag could be added to runtests.py specifying a hub URL, and then a WebDriver is created from that URL.
Note:
See TracTickets
for help on using tickets.