Skip to content

Commit d723646

Browse files
authored
chore: roll driver to 1.44.0-beta-1714435420000 (#1563)
1 parent fe51fb4 commit d723646

File tree

7 files changed

+86
-44
lines changed

7 files changed

+86
-44
lines changed

playwright/src/main/java/com/microsoft/playwright/ElementHandle.java

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ class ClickOptions {
161161
public Boolean force;
162162
/**
163163
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
164-
* modifiers back. If not specified, currently pressed modifiers are used.
164+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
165+
* and Linux and to "Meta" on macOS.
165166
*/
166167
public List<KeyboardModifier> modifiers;
167168
/**
@@ -220,7 +221,8 @@ public ClickOptions setForce(boolean force) {
220221
}
221222
/**
222223
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
223-
* modifiers back. If not specified, currently pressed modifiers are used.
224+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
225+
* and Linux and to "Meta" on macOS.
224226
*/
225227
public ClickOptions setModifiers(List<KeyboardModifier> modifiers) {
226228
this.modifiers = modifiers;
@@ -286,7 +288,8 @@ class DblclickOptions {
286288
public Boolean force;
287289
/**
288290
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
289-
* modifiers back. If not specified, currently pressed modifiers are used.
291+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
292+
* and Linux and to "Meta" on macOS.
290293
*/
291294
public List<KeyboardModifier> modifiers;
292295
/**
@@ -338,7 +341,8 @@ public DblclickOptions setForce(boolean force) {
338341
}
339342
/**
340343
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
341-
* modifiers back. If not specified, currently pressed modifiers are used.
344+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
345+
* and Linux and to "Meta" on macOS.
342346
*/
343347
public DblclickOptions setModifiers(List<KeyboardModifier> modifiers) {
344348
this.modifiers = modifiers;
@@ -444,7 +448,8 @@ class HoverOptions {
444448
public Boolean force;
445449
/**
446450
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
447-
* modifiers back. If not specified, currently pressed modifiers are used.
451+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
452+
* and Linux and to "Meta" on macOS.
448453
*/
449454
public List<KeyboardModifier> modifiers;
450455
/**
@@ -482,7 +487,8 @@ public HoverOptions setForce(boolean force) {
482487
}
483488
/**
484489
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
485-
* modifiers back. If not specified, currently pressed modifiers are used.
490+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
491+
* and Linux and to "Meta" on macOS.
486492
*/
487493
public HoverOptions setModifiers(List<KeyboardModifier> modifiers) {
488494
this.modifiers = modifiers;
@@ -995,7 +1001,8 @@ class TapOptions {
9951001
public Boolean force;
9961002
/**
9971003
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
998-
* modifiers back. If not specified, currently pressed modifiers are used.
1004+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
1005+
* and Linux and to "Meta" on macOS.
9991006
*/
10001007
public List<KeyboardModifier> modifiers;
10011008
/**
@@ -1033,7 +1040,8 @@ public TapOptions setForce(boolean force) {
10331040
}
10341041
/**
10351042
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
1036-
* modifiers back. If not specified, currently pressed modifiers are used.
1043+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
1044+
* and Linux and to "Meta" on macOS.
10371045
*/
10381046
public TapOptions setModifiers(List<KeyboardModifier> modifiers) {
10391047
this.modifiers = modifiers;
@@ -1820,7 +1828,7 @@ default String inputValue() {
18201828
* ArrowUp}, etc.
18211829
*
18221830
* <p> Following modification shortcuts are also supported: {@code Shift}, {@code Control}, {@code Alt}, {@code Meta}, {@code
1823-
* ShiftLeft}.
1831+
* ShiftLeft}, {@code ControlOrMeta}.
18241832
*
18251833
* <p> Holding down {@code Shift} will type the text that corresponds to the {@code key} in the upper case.
18261834
*
@@ -1851,7 +1859,7 @@ default void press(String key) {
18511859
* ArrowUp}, etc.
18521860
*
18531861
* <p> Following modification shortcuts are also supported: {@code Shift}, {@code Control}, {@code Alt}, {@code Meta}, {@code
1854-
* ShiftLeft}.
1862+
* ShiftLeft}, {@code ControlOrMeta}.
18551863
*
18561864
* <p> Holding down {@code Shift} will type the text that corresponds to the {@code key} in the upper case.
18571865
*

playwright/src/main/java/com/microsoft/playwright/Frame.java

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ class ClickOptions {
266266
public Boolean force;
267267
/**
268268
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
269-
* modifiers back. If not specified, currently pressed modifiers are used.
269+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
270+
* and Linux and to "Meta" on macOS.
270271
*/
271272
public List<KeyboardModifier> modifiers;
272273
/**
@@ -330,7 +331,8 @@ public ClickOptions setForce(boolean force) {
330331
}
331332
/**
332333
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
333-
* modifiers back. If not specified, currently pressed modifiers are used.
334+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
335+
* and Linux and to "Meta" on macOS.
334336
*/
335337
public ClickOptions setModifiers(List<KeyboardModifier> modifiers) {
336338
this.modifiers = modifiers;
@@ -404,7 +406,8 @@ class DblclickOptions {
404406
public Boolean force;
405407
/**
406408
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
407-
* modifiers back. If not specified, currently pressed modifiers are used.
409+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
410+
* and Linux and to "Meta" on macOS.
408411
*/
409412
public List<KeyboardModifier> modifiers;
410413
/**
@@ -461,7 +464,8 @@ public DblclickOptions setForce(boolean force) {
461464
}
462465
/**
463466
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
464-
* modifiers back. If not specified, currently pressed modifiers are used.
467+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
468+
* and Linux and to "Meta" on macOS.
465469
*/
466470
public DblclickOptions setModifiers(List<KeyboardModifier> modifiers) {
467471
this.modifiers = modifiers;
@@ -1115,7 +1119,8 @@ class HoverOptions {
11151119
public Boolean force;
11161120
/**
11171121
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
1118-
* modifiers back. If not specified, currently pressed modifiers are used.
1122+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
1123+
* and Linux and to "Meta" on macOS.
11191124
*/
11201125
public List<KeyboardModifier> modifiers;
11211126
/**
@@ -1158,7 +1163,8 @@ public HoverOptions setForce(boolean force) {
11581163
}
11591164
/**
11601165
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
1161-
* modifiers back. If not specified, currently pressed modifiers are used.
1166+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
1167+
* and Linux and to "Meta" on macOS.
11621168
*/
11631169
public HoverOptions setModifiers(List<KeyboardModifier> modifiers) {
11641170
this.modifiers = modifiers;
@@ -1938,7 +1944,8 @@ class TapOptions {
19381944
public Boolean force;
19391945
/**
19401946
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
1941-
* modifiers back. If not specified, currently pressed modifiers are used.
1947+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
1948+
* and Linux and to "Meta" on macOS.
19421949
*/
19431950
public List<KeyboardModifier> modifiers;
19441951
/**
@@ -1981,7 +1988,8 @@ public TapOptions setForce(boolean force) {
19811988
}
19821989
/**
19831990
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
1984-
* modifiers back. If not specified, currently pressed modifiers are used.
1991+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
1992+
* and Linux and to "Meta" on macOS.
19851993
*/
19861994
public TapOptions setModifiers(List<KeyboardModifier> modifiers) {
19871995
this.modifiers = modifiers;
@@ -4082,7 +4090,8 @@ default Locator locator(String selector) {
40824090
* ArrowUp}, etc.
40834091
*
40844092
* <p> Following modification shortcuts are also supported: {@code Shift}, {@code Control}, {@code Alt}, {@code Meta}, {@code
4085-
* ShiftLeft}.
4093+
* ShiftLeft}, {@code ControlOrMeta}. {@code ControlOrMeta} resolves to {@code Control} on Windows and Linux and to {@code
4094+
* Meta} on macOS.
40864095
*
40874096
* <p> Holding down {@code Shift} will type the text that corresponds to the {@code key} in the upper case.
40884097
*
@@ -4111,7 +4120,8 @@ default void press(String selector, String key) {
41114120
* ArrowUp}, etc.
41124121
*
41134122
* <p> Following modification shortcuts are also supported: {@code Shift}, {@code Control}, {@code Alt}, {@code Meta}, {@code
4114-
* ShiftLeft}.
4123+
* ShiftLeft}, {@code ControlOrMeta}. {@code ControlOrMeta} resolves to {@code Control} on Windows and Linux and to {@code
4124+
* Meta} on macOS.
41154125
*
41164126
* <p> Holding down {@code Shift} will type the text that corresponds to the {@code key} in the upper case.
41174127
*

playwright/src/main/java/com/microsoft/playwright/Keyboard.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ public TypeOptions setDelay(double delay) {
9797
* ArrowUp}, etc.
9898
*
9999
* <p> Following modification shortcuts are also supported: {@code Shift}, {@code Control}, {@code Alt}, {@code Meta}, {@code
100-
* ShiftLeft}.
100+
* ShiftLeft}, {@code ControlOrMeta}. {@code ControlOrMeta} resolves to {@code Control} on Windows and Linux and to {@code
101+
* Meta} on macOS.
101102
*
102103
* <p> Holding down {@code Shift} will type the text that corresponds to the {@code key} in the upper case.
103104
*
@@ -147,7 +148,8 @@ public TypeOptions setDelay(double delay) {
147148
* ArrowUp}, etc.
148149
*
149150
* <p> Following modification shortcuts are also supported: {@code Shift}, {@code Control}, {@code Alt}, {@code Meta}, {@code
150-
* ShiftLeft}.
151+
* ShiftLeft}, {@code ControlOrMeta}. {@code ControlOrMeta} resolves to {@code Control} on Windows and Linux and to {@code
152+
* Meta} on macOS.
151153
*
152154
* <p> Holding down {@code Shift} will type the text that corresponds to the {@code key} in the upper case.
153155
*
@@ -193,7 +195,8 @@ default void press(String key) {
193195
* ArrowUp}, etc.
194196
*
195197
* <p> Following modification shortcuts are also supported: {@code Shift}, {@code Control}, {@code Alt}, {@code Meta}, {@code
196-
* ShiftLeft}.
198+
* ShiftLeft}, {@code ControlOrMeta}. {@code ControlOrMeta} resolves to {@code Control} on Windows and Linux and to {@code
199+
* Meta} on macOS.
197200
*
198201
* <p> Holding down {@code Shift} will type the text that corresponds to the {@code key} in the upper case.
199202
*

playwright/src/main/java/com/microsoft/playwright/Locator.java

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ class ClickOptions {
220220
public Boolean force;
221221
/**
222222
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
223-
* modifiers back. If not specified, currently pressed modifiers are used.
223+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
224+
* and Linux and to "Meta" on macOS.
224225
*/
225226
public List<KeyboardModifier> modifiers;
226227
/**
@@ -279,7 +280,8 @@ public ClickOptions setForce(boolean force) {
279280
}
280281
/**
281282
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
282-
* modifiers back. If not specified, currently pressed modifiers are used.
283+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
284+
* and Linux and to "Meta" on macOS.
283285
*/
284286
public ClickOptions setModifiers(List<KeyboardModifier> modifiers) {
285287
this.modifiers = modifiers;
@@ -345,7 +347,8 @@ class DblclickOptions {
345347
public Boolean force;
346348
/**
347349
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
348-
* modifiers back. If not specified, currently pressed modifiers are used.
350+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
351+
* and Linux and to "Meta" on macOS.
349352
*/
350353
public List<KeyboardModifier> modifiers;
351354
/**
@@ -397,7 +400,8 @@ public DblclickOptions setForce(boolean force) {
397400
}
398401
/**
399402
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
400-
* modifiers back. If not specified, currently pressed modifiers are used.
403+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
404+
* and Linux and to "Meta" on macOS.
401405
*/
402406
public DblclickOptions setModifiers(List<KeyboardModifier> modifiers) {
403407
this.modifiers = modifiers;
@@ -1056,7 +1060,8 @@ class HoverOptions {
10561060
public Boolean force;
10571061
/**
10581062
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
1059-
* modifiers back. If not specified, currently pressed modifiers are used.
1063+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
1064+
* and Linux and to "Meta" on macOS.
10601065
*/
10611066
public List<KeyboardModifier> modifiers;
10621067
/**
@@ -1094,7 +1099,8 @@ public HoverOptions setForce(boolean force) {
10941099
}
10951100
/**
10961101
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
1097-
* modifiers back. If not specified, currently pressed modifiers are used.
1102+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
1103+
* and Linux and to "Meta" on macOS.
10981104
*/
10991105
public HoverOptions setModifiers(List<KeyboardModifier> modifiers) {
11001106
this.modifiers = modifiers;
@@ -1901,7 +1907,8 @@ class TapOptions {
19011907
public Boolean force;
19021908
/**
19031909
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
1904-
* modifiers back. If not specified, currently pressed modifiers are used.
1910+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
1911+
* and Linux and to "Meta" on macOS.
19051912
*/
19061913
public List<KeyboardModifier> modifiers;
19071914
/**
@@ -1939,7 +1946,8 @@ public TapOptions setForce(boolean force) {
19391946
}
19401947
/**
19411948
* Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current
1942-
* modifiers back. If not specified, currently pressed modifiers are used.
1949+
* modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows
1950+
* and Linux and to "Meta" on macOS.
19431951
*/
19441952
public TapOptions setModifiers(List<KeyboardModifier> modifiers) {
19451953
this.modifiers = modifiers;
@@ -4186,7 +4194,8 @@ default Locator locator(Locator selectorOrLocator) {
41864194
* ArrowUp}, etc.
41874195
*
41884196
* <p> Following modification shortcuts are also supported: {@code Shift}, {@code Control}, {@code Alt}, {@code Meta}, {@code
4189-
* ShiftLeft}.
4197+
* ShiftLeft}, {@code ControlOrMeta}. {@code ControlOrMeta} resolves to {@code Control} on Windows and Linux and to {@code
4198+
* Meta} on macOS.
41904199
*
41914200
* <p> Holding down {@code Shift} will type the text that corresponds to the {@code key} in the upper case.
41924201
*
@@ -4226,7 +4235,8 @@ default void press(String key) {
42264235
* ArrowUp}, etc.
42274236
*
42284237
* <p> Following modification shortcuts are also supported: {@code Shift}, {@code Control}, {@code Alt}, {@code Meta}, {@code
4229-
* ShiftLeft}.
4238+
* ShiftLeft}, {@code ControlOrMeta}. {@code ControlOrMeta} resolves to {@code Control} on Windows and Linux and to {@code
4239+
* Meta} on macOS.
42304240
*
42314241
* <p> Holding down {@code Shift} will type the text that corresponds to the {@code key} in the upper case.
42324242
*

0 commit comments

Comments
 (0)