Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: declare expect_navigation as returning Response (#5020)
Pavel Feldman5dcb7bb290b6
diff --git a/docs/src/api/python.md b/docs/src/api/python.mdindex 9884cef540..1557735ef1 100644--- a/docs/src/api/python.md+++ b/docs/src/api/python.md@@ -224,7 +224,7 @@ Shortcut for main frame's [`method: Frame.expectNavigation`].## async method: Frame.expectNavigation* langs: python-- returns: <[EventContextManager]>+- returns: <[EventContextManager[Response]]>Performs action and waits for the next navigation. In case of multiple redirects, the navigation will resolve withthe response of the last redirect. In case of navigation to a different anchor or navigation due to History API