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 seleniumbase/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# seleniumbase package
__version__ = "4.49.4"
__version__ = "4.49.5"
4 changes: 2 additions & 2 deletions 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, PermissionError):
except Exception:
self._process_create_time = None
service_ = None
log_output = subprocess.PIPE
Expand Down Expand Up @@ -415,7 +415,7 @@ def is_running(self):
return process.status() != psutil.STATUS_ZOMBIE
except psutil.NoSuchProcess:
return False
except PermissionError:
except Exception:
return None

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

def get_rd_host(self):
Expand Down Expand Up @@ -650,7 +650,7 @@ async def start(self=None) -> Browser:
self._process_create_time = (
psutil.Process(self._process_pid).create_time()
)
except (psutil.NoSuchProcess, PermissionError):
except Exception:
self._process_create_time = None
await asyncio.sleep(0.05)
self._http = HTTPApi((self.config.host, self.config.port))
Expand Down