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
Session ID is null #1418
Comments
If you delete the session we set the sessionID to null. As you can see in the logs you execute: |
➜ setCookie After excluding ➜ setCookie
There's no any warnings and |
I can replicate it only with Chrome browser. And have no idea who may throw that exception |
the wdio test runner because |
So, how to know the reason? I could not find any information in the logs |
If the spec has finished the wdio runner automatically shuts down the session |
My test case (nothing else): browser.url(url);
browser.setCookie(cookie);
browser.url(url);
browser.waitForExist(selector); Cannot understand how it's possible within one test case |
I can't not tell you anything more without having a reproducible example or something I can investigate on. |
I can reproduce it on Windows with Cygwin in Chrome. |
I'm having the same error as session ID is null. I have created a selenium grid with firefox and chrome. Below is my code: Yaml file version: "3" Test case file package docker import java.net.{MalformedURLException, URL} import org.openqa.selenium.remote.{DesiredCapabilities, RemoteWebDriver} class SignUpTests_Chrome_2 extends FlatSpecLike with Matchers { var driver: WebDriver = null @BeforeTest @throws[MalformedURLException] @AfterTest @test } } Error:
|
@samantha-pereira the issue opened 3 years ago, and this is javascript project, c'mon man, are you serious? |
Sometimes I see this error in chrome (phantomjs works fine).
I have found a possible solution: http://stackoverflow.com/questions/27497875/selenium-grid-running-tests-in-parallel
PS: My tests are starting via Launcher, if it can help
The text was updated successfully, but these errors were encountered: