-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] Proper implementation of cookies management #14883
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
/automerge in 5 days |
|
Blocked by #14884 |
|
Closing this PR because we got more info to move further. Seems |
User description
Description
NoSuchCookieExceptionnullcookie nameMotivation and Context
Fix #14876
Types of changes
Checklist
PR Type
Bug fix, Enhancement
Description
CookieJarclass to remove redundant code and improve cookie management.NoSuchCookieExceptionto handle cases where a cookie is not found.ICookieJarto include exception details.Changes walkthrough 📝
CookieJar.cs
Simplify CookieJar class and improve cookie managementdotnet/src/webdriver/CookieJar.cs
CookieJarclass by removing redundant code.ArgumentNullExceptionfor null parameters.NoSuchCookieException.cs
Introduce NoSuchCookieException classdotnet/src/webdriver/NoSuchCookieException.cs
NoSuchCookieExceptionclass for handling missing cookies.ICookieJar.cs
Add exception handling documentation to ICookieJardotnet/src/webdriver/ICookieJar.cs
ArgumentNullExceptionandNoSuchCookieException.W3CWireProtocolCommandInfoRepository.cs
Correct HTTP method for GetCookie commanddotnet/src/webdriver/Remote/W3CWireProtocolCommandInfoRepository.cs
GetCookiecommand to GET.WebDriver.cs
Handle NoSuchCookieException in WebDriver error responsesdotnet/src/webdriver/WebDriver.cs
NoSuchCookieExceptionin error responses.