Playwright - code fix

pull/588/head
dgtlmoon 3 years ago
parent d4b5237103
commit 9807cf0cda

@ -118,6 +118,7 @@ class base_html_playwright(Fetcher):
ignore_status_codes=False): ignore_status_codes=False):
from playwright.sync_api import sync_playwright from playwright.sync_api import sync_playwright
import playwright._impl._api_types
from playwright._impl._api_types import Error, TimeoutError from playwright._impl._api_types import Error, TimeoutError
with sync_playwright() as p: with sync_playwright() as p:

Loading…
Cancel
Save