Playwright - code fix
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user