Repository navigation
docs(api): fix examples that call nonexistent APIs - #43393
Yury Semikhatsky (yury-s) merged 1 commit into
Conversation
- BrowserContext.routeWebSocket: WebSocketRoute has no routeSend/connect in any language; use connectToServer + onMessage, as the WebSocketRoute docs do. - Page.screencast: Screencast has no 'screencastFrame' event; frames are delivered through the onFrame option of start(). - Frame.selectOption: multiple values are passed as an array, matching the Page.selectOption example. - TestConfig.webServer: the fixture option is baseURL, not baseUrl.
Test results for "tests 1"5 failed 5 flaky21787 passed, 525 skipped Merge workflow run. |
Test results for "MCP"1 failed 9203 passed, 1495 skipped Merge workflow run. |
Summary
BrowserContext.routeWebSocket:WebSocketRoutehas norouteSend/connectin any language; useconnectToServer+onMessage, as theWebSocketRoutedocs do.Page.screencast:Screencasthas no'screencastFrame'event; frames are delivered through theonFrameoption ofstart().Frame.selectOption: multiple values are passed as an array, matching thePage.selectOptionexample.TestConfig.webServer: the fixture option isbaseURL, notbaseUrl.