Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mkdocs_build/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pymdown-extensions>=10.21.3
pipdeptree>=2.35.3
python-dateutil>=2.8.2
Markdown==3.10.2
click==8.4.0
click==8.4.1
ghp-import==2.1.0
watchdog==6.0.0
cairocffi==1.7.1
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pip>=26.0.1;python_version<"3.10"
pip>=26.1.1;python_version>="3.10"
pip>=26.1.2;python_version>="3.10"
packaging>=26.2
setuptools~=70.2;python_version<"3.10"
setuptools>=82.0.1;python_version>="3.10"
Expand Down
2 changes: 1 addition & 1 deletion seleniumbase/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# seleniumbase package
__version__ = "4.49.3"
__version__ = "4.49.4"
4 changes: 3 additions & 1 deletion seleniumbase/undetected/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def __init__(
self._process_create_time = (
psutil.Process(self._process_pid).create_time()
)
except psutil.NoSuchProcess:
except (psutil.NoSuchProcess, PermissionError):
self._process_create_time = None
service_ = None
log_output = subprocess.PIPE
Expand Down Expand Up @@ -415,6 +415,8 @@ def is_running(self):
return process.status() != psutil.STATUS_ZOMBIE
except psutil.NoSuchProcess:
return False
except PermissionError:
return None

def remove_cdc_props_as_needed(self):
cdc_props = self._get_cdc_props()
Expand Down
4 changes: 3 additions & 1 deletion seleniumbase/undetected/cdp_driver/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ def is_running(self):
return process.status() != psutil.STATUS_ZOMBIE
except psutil.NoSuchProcess:
return False
except PermissionError:
return None

def get_rd_host(self):
return self.config.host
Expand Down Expand Up @@ -648,7 +650,7 @@ async def start(self=None) -> Browser:
self._process_create_time = (
psutil.Process(self._process_pid).create_time()
)
except psutil.NoSuchProcess:
except (psutil.NoSuchProcess, PermissionError):
self._process_create_time = None
await asyncio.sleep(0.05)
self._http = HTTPApi((self.config.host, self.config.port))
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
python_requires=">=3.9",
install_requires=[
'pip>=26.0.1;python_version<"3.10"',
'pip>=26.1.1;python_version>="3.10"',
'pip>=26.1.2;python_version>="3.10"',
'packaging>=26.2',
'setuptools~=70.2;python_version<"3.10"', # Newer ones had issues
'setuptools>=82.0.1;python_version>="3.10"',
Expand Down