-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Testing with Selenium Grid get SessionNotCreatedException #572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@clobob This might be related to your settings in local_cap_file_firefox.py. I'd need to see what you set in there to debug your issue. Do your tests work with a different desired_capabilities file? |
Hi, |
@clobob If the Selenium Grid nodes that are connected to your Grid Hub are only on Linux machines, you shouldn't need to specify Linux in your desired capabilities. And if none of the Grid Nodes are on Linux, it will have errors. The Desired Capabilities feature that's built-in to SeleniumBase is primarily made for connecting to giant Selenium Grids held by companies such as BrowserStack, Sauce Labs, TestingBot, CrossBrowserTesting, and LambdaTest, which have Selenium Grid nodes running on all kinds of environments. Details on those are here: https://seleniumbase.io/seleniumbase/utilities/selenium_grid/ReadMe/ |
@mdmintz
the command is : python demo_test.py -v
|
@clobob Try the Selenoid Docker image. There's an example here: https://github.com/mpolynskyi/orbitz_seleniumbase |
And there's https://github.com/seleniumbase/SeleniumBase/releases/tag/v1.38.5 which fixes the issue with Remote WebDriver and Selenium Grid |
I'm trying to run a test in examples\visual_testing. The command which I used like this:
Selenium Grid docker -->> selenium/hub, selenium/node-firfox
OS: Linux localhost.localdomain 3.10.0-862.9.1.nd7.zx.4.x86_64 #1 SMP Wed Jan 9 01:27:43 CST 2019 x86_64 x86_64 x86_64 GNU/Linux
Selenium grid looks working ok.
after running test, I get a failed with stacktrace:
......\envs\seleniumbase_env\lib\site-packages\selenium\webdriver\remote\errorhandler.py:242: SessionNotCreatedException
can you have a look at this issue?
The text was updated successfully, but these errors were encountered: