Skip to content

Commit 0d9ee19

Browse files
authored
[dotnet][py][java][js]: add default as a value for SameSite (#16129)
1 parent 2ab802b commit 0d9ee19

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

dotnet/src/webdriver/BiDi/Network/Cookie.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ public enum SameSite
3232
{
3333
Strict,
3434
Lax,
35-
None
35+
None,
36+
Default
3637
}

java/src/org/openqa/selenium/bidi/network/Cookie.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ public class Cookie {
2525
public enum SameSite {
2626
STRICT("strict"),
2727
LAX("lax"),
28-
NONE("none");
28+
NONE("none"),
29+
DEFAULT("default");
2930

3031
private final String type;
3132

javascript/selenium-webdriver/bidi/networkTypes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const SameSite = {
2626
STRICT: 'strict',
2727
LAX: 'lax',
2828
NONE: 'none',
29+
DEFAULT: 'default',
2930

3031
findByName(name) {
3132
return (

py/selenium/webdriver/common/bidi/storage.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class SameSite:
2626
STRICT = "strict"
2727
LAX = "lax"
2828
NONE = "none"
29+
DEFAULT = "default"
2930

3031

3132
class BytesValue:

0 commit comments

Comments
 (0)