pytest-dev / pytest-selenium

Plugin for running Selenium with pytest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TestingBot tunnel tests fails with SSL error

BeyondEvil opened this issue · comments

When trying to run tests against a local webserver using --host localhost and --port 4445 as per the TestingBot docs, the tests errors out with:

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='localhost', port=4445): Max retries exceeded with url: /wd/hub/session (Caused by SSLError(SSLError(1, '[SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:1045)')))

To make this work, the executor url needs to be "http".

PR with fix is incoming.