From 396caee2f129370d64cf991fc7ad6d48091ec19f Mon Sep 17 00:00:00 2001 From: Vinyzu <50874994+Vinyzu@users.noreply.github.com> Date: Sun, 14 Apr 2024 19:55:25 +0200 Subject: [PATCH] Fix Sync OS Check --- cdp_patches/input/sync_input.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdp_patches/input/sync_input.py b/cdp_patches/input/sync_input.py index ca19977..885ec49 100644 --- a/cdp_patches/input/sync_input.py +++ b/cdp_patches/input/sync_input.py @@ -62,7 +62,7 @@ def __init__(self, pid: Optional[int] = None, browser: Optional[sync_browsers] = self._wait_for_window() # Include Windows Scale Factor for every browser except DriverlessSyncChrome - if not isinstance(browser, DriverlessSyncChrome): + if is_windows and not isinstance(browser, DriverlessSyncChrome): self._base.include_windows_scale_factor() @property