Turn-off the hide_canvas option by default
This commit is contained in:
@@ -28,7 +28,7 @@ class PlaywrightEngine:
|
|||||||
wait_selector: Optional[str] = None,
|
wait_selector: Optional[str] = None,
|
||||||
wait_selector_state: Optional[str] = 'attached',
|
wait_selector_state: Optional[str] = 'attached',
|
||||||
stealth: bool = False,
|
stealth: bool = False,
|
||||||
hide_canvas: bool = True,
|
hide_canvas: bool = False,
|
||||||
disable_webgl: bool = False,
|
disable_webgl: bool = False,
|
||||||
cdp_url: Optional[str] = None,
|
cdp_url: Optional[str] = None,
|
||||||
nstbrowser_mode: bool = False,
|
nstbrowser_mode: bool = False,
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ class PlayWrightFetcher(BaseFetcher):
|
|||||||
self, url: str, headless: Union[bool, str] = True, disable_resources: bool = None,
|
self, url: str, headless: Union[bool, str] = True, disable_resources: bool = None,
|
||||||
useragent: Optional[str] = None, network_idle: Optional[bool] = False, timeout: Optional[float] = 30000,
|
useragent: Optional[str] = None, network_idle: Optional[bool] = False, timeout: Optional[float] = 30000,
|
||||||
page_action: Callable = do_nothing, wait_selector: Optional[str] = None, wait_selector_state: Optional[str] = 'attached',
|
page_action: Callable = do_nothing, wait_selector: Optional[str] = None, wait_selector_state: Optional[str] = 'attached',
|
||||||
hide_canvas: bool = True, disable_webgl: bool = False, extra_headers: Optional[Dict[str, str]] = None, google_search: Optional[bool] = True,
|
hide_canvas: bool = False, disable_webgl: bool = False, extra_headers: Optional[Dict[str, str]] = None, google_search: Optional[bool] = True,
|
||||||
proxy: Optional[Union[str, Dict[str, str]]] = None,
|
proxy: Optional[Union[str, Dict[str, str]]] = None,
|
||||||
stealth: bool = False,
|
stealth: bool = False,
|
||||||
cdp_url: Optional[str] = None,
|
cdp_url: Optional[str] = None,
|
||||||
|
|||||||
Reference in New Issue
Block a user