The issue was that I didn't have selenium installed. However, the error
message I received was
{{{
runtests.py: error: argument --selenium: Selenium browser specification
'chrome' is not valid.
}}}
Therefore much head scratching trying to think about what was wrong with
chrome/webdriver rather than not having selenium installed. Maybe there is
something better we could do here?
--
Ticket URL: <https://code.djangoproject.com/ticket/33455>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* type: Uncategorized => Cleanup/optimization
* component: Uncategorized => Testing framework
* stage: Unreviewed => Accepted
Comment:
We could try to import `selenium` before calling `import_webdriver()`.
--
Ticket URL: <https://code.djangoproject.com/ticket/33455#comment:1>
* owner: nobody => Mohamed Nabil Rady
* status: new => assigned
* has_patch: 0 => 1
* easy: 0 => 1
Comment:
https://github.com/django/django/pull/15338
--
Ticket URL: <https://code.djangoproject.com/ticket/33455#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"9dc65263d47a5b8857492c10ce151bab83cfe672" 9dc6526]:
{{{
#!CommitTicketReference repository=""
revision="9dc65263d47a5b8857492c10ce151bab83cfe672"
Fixed #33455 -- Improved error message when selenium is not installed.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33455#comment:3>