pytest-selenium icon indicating copy to clipboard operation
pytest-selenium copied to clipboard

Unable to find handler for (POST) /wd/hub/session

Open infertest opened this issue 3 years ago • 2 comments

Using pytest-selenium v.4 and selenium grid v4 I got the "Message: Unable to find handler for (POST) /wd/hub/session". Selenium 4 changes the URL. It's no longer behind /wd/hub, but In remote.py the executor has /wd/hub

infertest avatar Sep 26 '22 13:09 infertest

Using pytest-selenium v.4 and selenium grid v4 I got the "Message: Unable to find handler for (POST) /wd/hub/session". Selenium 4 changes the URL. It's no longer behind /wd/hub, but In remote.py the executor has /wd/hub

Thanks for reporting!

Looks like the new path is just /, can you confirm @infertest ?

BeyondEvil avatar Sep 26 '22 18:09 BeyondEvil

I confirm. It's mentioned here https://www.selenium.dev/documentation/grid/advanced_features/endpoints/ and https://stackoverflow.com/questions/59881496/webdriver-exception-unable-to-find-handler-for-post-wd-hub-session

infertest avatar Oct 05 '22 07:10 infertest