-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Options.getCookie should return null if cookie not found. #6292
Comments
The |
@lmtierney yes, I also checked the source code. So you mean the |
That's up to the maintainer of the nodejs code. If it's to be nil, then the code needs updating. If it's supposed to throw an error then the documentation needs updating. @jleyba |
Signed-off-by: Sri Harsha <[email protected]>
@harsha509, thank you for fixing this! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Meta -
OS:
OSX 10.13
Selenium Version:
4.0.0-alpha.1
Browser:
Firefox developer edition
Browser Version:
62.0b15
Expected Behavior -
If cookie is not exists, I should get null just like official document said.
https://seleniumhq.github.io/selenium/docs/api/javascript/module/selenium-webdriver/lib/webdriver_exports_Options.html
Actual Behavior -
I got an error:
Steps to reproduce -
I use Javascript and
[email protected]
The text was updated successfully, but these errors were encountered: