diff --git a/seleniumbase/__version__.py b/seleniumbase/__version__.py index b8f5dbaadbb..7d9b8d301dd 100755 --- a/seleniumbase/__version__.py +++ b/seleniumbase/__version__.py @@ -1,2 +1,2 @@ # seleniumbase package -__version__ = "4.45.9" +__version__ = "4.45.10" diff --git a/seleniumbase/undetected/cdp_driver/cdp_util.py b/seleniumbase/undetected/cdp_driver/cdp_util.py index 8719bbce2b7..674cd5fa119 100644 --- a/seleniumbase/undetected/cdp_driver/cdp_util.py +++ b/seleniumbase/undetected/cdp_driver/cdp_util.py @@ -565,7 +565,11 @@ async def start( platform_var = platform_var[1:-1] if IS_LINUX and not headless and not headed and not xvfb: xvfb = True # The default setting on Linux - __activate_virtual_display_as_needed(headless, headed, xvfb, xvfb_metrics) + if not host or not port: + # The browser hasn't been launched yet. (May need a virtual display) + __activate_virtual_display_as_needed( + headless, headed, xvfb, xvfb_metrics + ) if proxy and "@" in str(proxy): user_with_pass = proxy.split("@")[0] if ":" in user_with_pass: diff --git a/setup.py b/setup.py index 6606eab3cb3..155612ae036 100755 --- a/setup.py +++ b/setup.py @@ -259,7 +259,7 @@ # (An optional library for parsing PDF files.) "pdfminer": [ 'pdfminer.six==20251107;python_version<"3.10"', - 'pdfminer.six==20251230;python_version>="3.10"', + 'pdfminer.six==20260107;python_version>="3.10"', 'cryptography==46.0.3', 'cffi==2.0.0', 'pycparser==2.23',