You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Waits for event to fire and passes its value into the predicate function. Resolves when the predicate returns truthy value. Will throw an error if the webSocket is closed before the event
518
+
is fired.
519
+
520
+
Parameters
521
+
----------
522
+
event : str
523
+
Event name, same one would pass into `webSocket.on(event)`.
Waits for event to fire and passes its value into the predicate function. Resolves when the predicate returns truthy value. Will throw an error if the webSocket is closed before the event
524
+
is fired.
525
+
526
+
Parameters
527
+
----------
528
+
event : str
529
+
Event name, same one would pass into `webSocket.on(event)`.
Copy file name to clipboardExpand all lines: scripts/expected_api_mismatch.txt
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,6 @@ Method not implemented: Download.createReadStream
19
19
Method not implemented: Logger.isEnabled
20
20
Method not implemented: Logger.log
21
21
Method not implemented: Page.coverage
22
-
Method not implemented: WebSocket.isClosed
23
-
Method not implemented: WebSocket.waitForEvent
24
22
25
23
# Parameter overloads
26
24
Parameter not documented: BrowserContext.waitForEvent(predicate=)
@@ -30,6 +28,8 @@ Parameter not documented: Page.waitForEvent(timeout=)
30
28
Parameter not documented: Page.waitForRequest(predicate=)
31
29
Parameter not documented: Page.waitForResponse(predicate=)
32
30
Parameter not documented: Selectors.register(path=)
31
+
Parameter not documented: WebSocket.waitForEvent(timeout=)
32
+
Parameter not documented: WebSocket.waitForEvent(predicate=)
33
33
34
34
# Documented as Dict / Any
35
35
Parameter type mismatch in BrowserContext.setGeolocation(geolocation=): documented as Optional[Dict], code has Optional[{"latitude": float, "longitude": float, "accuracy": Optional[float]}]
@@ -42,6 +42,7 @@ Parameter type mismatch in Page.viewportSize(return=): documented as Optional[Di
42
42
Parameter type mismatch in Page.waitForEvent(return=): documented as Dict, code has Any
43
43
Parameter type mismatch in Request.failure(return=): documented as Optional[Dict], code has Optional[{"errorText": str}]
44
44
Parameter type mismatch in Response.json(return=): documented as Any, code has Union[Dict, List]
45
+
Parameter type mismatch in WebSocket.waitForEvent(return=): documented as Dict, code has Any
45
46
46
47
# Pathlib
47
48
Parameter type mismatch in BrowserType.launch(executablePath=): documented as Optional[str], code has Union[str, pathlib.Path, NoneType]
@@ -118,3 +119,4 @@ Method not implemented: BrowserType.connect
118
119
# OptionsOr
119
120
Parameter not implemented: Page.waitForEvent(optionsOrPredicate=)
120
121
Parameter not implemented: BrowserContext.waitForEvent(optionsOrPredicate=)
122
+
Parameter not implemented: WebSocket.waitForEvent(optionsOrPredicate=)
0 commit comments