@@ -1890,7 +1890,7 @@ def select_text(self, *, force: bool = None, timeout: float = None) -> NoneType:
1890
1890
def input_value (self , * , timeout : float = None ) -> str :
1891
1891
"""ElementHandle.input_value
1892
1892
1893
- Returns `input.value` for `<input>` or `<textarea>` element. Throws for non-input elements.
1893
+ Returns `input.value` for `<input>` or `<textarea>` or `<select>` element. Throws for non-input elements.
1894
1894
1895
1895
Parameters
1896
1896
----------
@@ -4223,6 +4223,8 @@ def drag_and_drop(
4223
4223
source : str ,
4224
4224
target : str ,
4225
4225
* ,
4226
+ source_position : Position = None ,
4227
+ target_position : Position = None ,
4226
4228
force : bool = None ,
4227
4229
no_wait_after : bool = None ,
4228
4230
strict : bool = None ,
@@ -4235,6 +4237,12 @@ def drag_and_drop(
4235
4237
----------
4236
4238
source : str
4237
4239
target : str
4240
+ source_position : Union[{x: float, y: float}, NoneType]
4241
+ Clicks on the source element at this point relative to the top-left corner of the element's padding box. If not
4242
+ specified, some visible point of the element is used.
4243
+ target_position : Union[{x: float, y: float}, NoneType]
4244
+ Drops on the target element at this point relative to the top-left corner of the element's padding box. If not
4245
+ specified, some visible point of the element is used.
4238
4246
force : Union[bool, NoneType]
4239
4247
Whether to bypass the [actionability](./actionability.md) checks. Defaults to `false`.
4240
4248
no_wait_after : Union[bool, NoneType]
@@ -4258,6 +4266,8 @@ def drag_and_drop(
4258
4266
self ._impl_obj .drag_and_drop (
4259
4267
source = source ,
4260
4268
target = target ,
4269
+ source_position = source_position ,
4270
+ target_position = target_position ,
4261
4271
force = force ,
4262
4272
noWaitAfter = no_wait_after ,
4263
4273
strict = strict ,
@@ -4356,7 +4366,7 @@ def input_value(
4356
4366
) -> str :
4357
4367
"""Frame.input_value
4358
4368
4359
- Returns `input.value` for the selected `<input>` or `<textarea>` element. Throws for non-input elements.
4369
+ Returns `input.value` for the selected `<input>` or `<textarea>` or `<select>` element. Throws for non-input elements.
4360
4370
4361
4371
Parameters
4362
4372
----------
@@ -7541,6 +7551,8 @@ def drag_and_drop(
7541
7551
source : str ,
7542
7552
target : str ,
7543
7553
* ,
7554
+ source_position : Position = None ,
7555
+ target_position : Position = None ,
7544
7556
force : bool = None ,
7545
7557
no_wait_after : bool = None ,
7546
7558
timeout : float = None ,
@@ -7553,6 +7565,12 @@ def drag_and_drop(
7553
7565
----------
7554
7566
source : str
7555
7567
target : str
7568
+ source_position : Union[{x: float, y: float}, NoneType]
7569
+ Clicks on the source element at this point relative to the top-left corner of the element's padding box. If not
7570
+ specified, some visible point of the element is used.
7571
+ target_position : Union[{x: float, y: float}, NoneType]
7572
+ Drops on the target element at this point relative to the top-left corner of the element's padding box. If not
7573
+ specified, some visible point of the element is used.
7556
7574
force : Union[bool, NoneType]
7557
7575
Whether to bypass the [actionability](./actionability.md) checks. Defaults to `false`.
7558
7576
no_wait_after : Union[bool, NoneType]
@@ -7576,6 +7594,8 @@ def drag_and_drop(
7576
7594
self ._impl_obj .drag_and_drop (
7577
7595
source = source ,
7578
7596
target = target ,
7597
+ source_position = source_position ,
7598
+ target_position = target_position ,
7579
7599
force = force ,
7580
7600
noWaitAfter = no_wait_after ,
7581
7601
timeout = timeout ,
@@ -7677,7 +7697,7 @@ def input_value(
7677
7697
) -> str :
7678
7698
"""Page.input_value
7679
7699
7680
- Returns `input.value` for the selected `<input>` or `<textarea>` element. Throws for non-input elements.
7700
+ Returns `input.value` for the selected `<input>` or `<textarea>` or `<select>` element. Throws for non-input elements.
7681
7701
7682
7702
Parameters
7683
7703
----------
@@ -11300,7 +11320,7 @@ def inner_text(self, *, timeout: float = None) -> str:
11300
11320
def input_value (self , * , timeout : float = None ) -> str :
11301
11321
"""Locator.input_value
11302
11322
11303
- Returns `input.value` for `<input>` or `<textarea>` element. Throws for non-input elements.
11323
+ Returns `input.value` for `<input>` or `<textarea>` or `<select>` element. Throws for non-input elements.
11304
11324
11305
11325
Parameters
11306
11326
----------
0 commit comments