#34675: Selenium WebDriver implementation is broken due to update of Selenium
-------------------------------------+-------------------------------------
     Reporter:  Jonathan Weth        |                    Owner:  Jonathan
         Type:                       |  Weth
  Cleanup/optimization               |                   Status:  assigned
    Component:  Testing framework    |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  1
-------------------------------------+-------------------------------------

Comment (by Natalia Bidart):

 Reproduced with the given instructions, thanks!

 Ran `docker-selenium` as suggested in https://github.com/SeleniumHQ
 /docker-selenium#quick-start:

 {{{
 docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium
 /standalone-firefox:4.10.0-20230607
 }}}

 And then:

 {{{
 ./runtests.py --selenium=firefox --selenium-
 hub=http://localhost:4444/wd/hub
 }}}

 Errors are:

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python3.11/unittest/suite.py", line 166, in
 _handleClassSetUp
     setUpClass()
   File "/home/nessita/fellowship/django/django/test/selenium.py", line
 115, in setUpClass
     cls.selenium = cls.create_webdriver()
     ^^^^^^^^^^^^^^^^^
   File "/home/nessita/fellowship/django/django/test/selenium.py", line 93,
 in create_webdriver
     return webdriver.Remote(
     ^^^^^^^^^^^^^^^^^
 TypeError: WebDriver.__init__() got an unexpected keyword argument
 'desired_capabilities'
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34675#comment:7>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070188e9cad374-22ec5cb5-89ec-4cd1-b541-7051ed388971-000000%40eu-central-1.amazonses.com.

Reply via email to