Skip to content

Commit c1a52c2

Browse files
1 parent 57bebfd commit c1a52c2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

playwright/_impl/_connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ def __init__(
9292
if self._parent:
9393
self._parent._objects[guid] = self
9494

95-
def _wait_for_event_info_before(self, wait_id: str, name: str) -> None:
95+
def _wait_for_event_info_before(self, wait_id: str, api_name: str) -> None:
9696
self._connection._send_message_to_server(
9797
self._guid,
9898
"waitForEventInfo",
9999
{
100100
"info": {
101-
"name": name,
101+
"apiName": api_name,
102102
"waitId": wait_id,
103103
"phase": "before",
104104
"stack": capture_call_stack(),

playwright/_impl/_wait_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626

2727

2828
class WaitHelper(Generic[T]):
29-
def __init__(self, channel_owner: ChannelOwner, name: str) -> None:
29+
def __init__(self, channel_owner: ChannelOwner, api_name: str) -> None:
3030
self._result: asyncio.Future = asyncio.Future()
3131
self._wait_id = uuid.uuid4().hex
3232
self._loop = channel_owner._loop
3333
self._pending_tasks: List[Task] = []
3434
self._channel_owner = channel_owner
3535
self._registered_listeners: List[Tuple[EventEmitter, str, Callable]] = []
36-
channel_owner._wait_for_event_info_before(self._wait_id, name)
36+
channel_owner._wait_for_event_info_before(self._wait_id, api_name)
3737

3838
def reject_on_event(
3939
self,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from auditwheel.wheeltools import InWheel
2525
from wheel.bdist_wheel import bdist_wheel as BDistWheelCommand
2626

27-
driver_version = "1.11.0-next-1618513089000"
27+
driver_version = "1.11.0-next-1618801354000"
2828

2929

3030
def extractall(zip: zipfile.ZipFile, path: str) -> None:

0 commit comments

Comments
 (0)