This commit is contained in:
Edward Betts 2023-08-11 08:55:41 +01:00
parent 7aaf878ced
commit d018905ae5

View file

@ -54,8 +54,8 @@ def run(playwright: Playwright) -> None:
context = browser.new_context() context = browser.new_context()
page = context.new_page() page = context.new_page()
# hr = HandleResponse() hr = HandleResponse()
# page.on("requestfinished", hr.requestfinished) page.on("requestfinished", hr.requestfinished)
page.goto("https://www.eurotunnel.com/uk/") page.goto("https://www.eurotunnel.com/uk/")
page.get_by_role("button", name="Accept All Cookies").click() page.get_by_role("button", name="Accept All Cookies").click()