Selenium crashing with selenium.common.exceptions.WebDriverException: Message: newSession

后端 未结 3 2348
说谎
说谎 2021-02-19 22:43

OS: Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-1066-aws x86_64)

Selenium Version: selenium==3.6.0

Browser: Mozilla Firefox 63.0

Geckodriver version : geckodr

3条回答
  •  别那么骄傲
    2021-02-19 23:22

    Thanks @skyfail. Your answer helped me. The following sequence was performed and resolved the issue.

    1. To upgrade selenium run: sudo pip3 install selenium --upgrade

    2. To upgrade geckodriver follow steps 1-3 from this

    3. sudo mv geckodriver /usr/local/bin/geckodriver , /usr/local/bin is usually in your PATH so no need to edit it.

提交回复
热议问题