#29883: Support running remote Selenium tests with runtests.py
-----------------------------------+--------------------------------------
Reporter: Tom Forbes | Owner: nobody
Type: New feature | Status: new
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Description changed by Tom Forbes:
Old 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.
New 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. This
allows you to spin up multiple different browsers as docker containers, or
connect to remote cloud-hosted ones.
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.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/29883#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/061.28d0f1282294dba39f4304fc5d6b973a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.