-
-
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
[dotnet] Proper implementation of cookies management #14883
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
NoSuchCookieException
null
cookie nameMotivation and Context
Fix #14876
Types of changes
Checklist
PR Type
Bug fix, Enhancement
Description
CookieJar
class to remove redundant code and improve cookie management.NoSuchCookieException
to handle cases where a cookie is not found.ICookieJar
to include exception details.Changes walkthrough 📝
CookieJar.cs
Simplify CookieJar class and improve cookie management
dotnet/src/webdriver/CookieJar.cs
CookieJar
class by removing redundant code.ArgumentNullException
for null parameters.NoSuchCookieException.cs
Introduce NoSuchCookieException class
dotnet/src/webdriver/NoSuchCookieException.cs
NoSuchCookieException
class for handling missing cookies.ICookieJar.cs
Add exception handling documentation to ICookieJar
dotnet/src/webdriver/ICookieJar.cs
ArgumentNullException
andNoSuchCookieException
.W3CWireProtocolCommandInfoRepository.cs
Correct HTTP method for GetCookie command
dotnet/src/webdriver/Remote/W3CWireProtocolCommandInfoRepository.cs
GetCookie
command to GET.WebDriver.cs
Handle NoSuchCookieException in WebDriver error responses
dotnet/src/webdriver/WebDriver.cs
NoSuchCookieException
in error responses.