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()
page = context.new_page()
# hr = HandleResponse()
# page.on("requestfinished", hr.requestfinished)
hr = HandleResponse()
page.on("requestfinished", hr.requestfinished)
page.goto("https://www.eurotunnel.com/uk/")
page.get_by_role("button", name="Accept All Cookies").click()