[rb] Allow symbols again to be passed on delete_cookie #15519
Merged
+7
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
Motivation and Context
Regarding the issue raised on #15386 by Akarzim deleting a cookie as a symbol fails
This PR adds support for symbols by converting the value to a string on the conditional check
Types of changes
Checklist
PR Type
Bug fix, Tests
Description
Fixed bug when deleting cookies with symbol names.
Updated
delete_cookie
method to handle symbols correctly.Added test case for deleting cookies using symbols.
Modified Bazel configuration for remote test tag filters.
Changes walkthrough 📝
bridge.rb
Fix symbol handling in `delete_cookie` method
rb/lib/selenium/webdriver/remote/bridge.rb
delete_cookie
method to convert symbol names to strings.manager_spec.rb
Add test for deleting cookies with symbols
rb/spec/integration/selenium/webdriver/manager_spec.rb
.bazelrc.remote
Update Bazel remote test tag filters
.bazelrc.remote
exclusive-if-local
.