Skip to content

CDP Mode: Patch 53 #3915

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 4, 2025
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
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ setuptools~=70.2;python_version<"3.10"
setuptools>=80.9.0;python_version>="3.10"
wheel>=0.45.1
attrs>=25.3.0
certifi>=2025.7.14
certifi>=2025.8.3
exceptiongroup>=1.3.0
websockets~=13.1;python_version<"3.9"
websockets>=15.0.1;python_version>="3.9"
Expand Down Expand Up @@ -77,7 +77,7 @@ rich>=14.1.0,<15
# ("pip install -r requirements.txt" also installs this, but "pip install -e ." won't.)

coverage>=7.6.1;python_version<"3.9"
coverage>=7.10.1;python_version>="3.9"
coverage>=7.10.2;python_version>="3.9"
pytest-cov>=5.0.0;python_version<"3.9"
pytest-cov>=6.2.1;python_version>="3.9"
flake8==5.0.4;python_version<"3.9"
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.40.7"
__version__ = "4.40.8"
4 changes: 2 additions & 2 deletions seleniumbase/undetected/cdp_driver/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,12 +935,12 @@ async def get(self, endpoint: str):
async def post(self, endpoint, data):
return await self._request(endpoint, data)

async def _request(self, endpoint, method: str = "get", data: dict = None):
async def _request(self, endpoint, method: str = "GET", data: dict = None):
url = urllib.parse.urljoin(
self.api, f"json/{endpoint}" if endpoint else "/json"
)
if data and method.lower() == "get":
raise ValueError("get requests cannot contain data")
raise ValueError("GET requests cannot contain data")
if not url:
url = self.api + endpoint
request = urllib.request.Request(url)
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
'setuptools>=80.9.0;python_version>="3.10"',
'wheel>=0.45.1',
'attrs>=25.3.0',
"certifi>=2025.7.14",
"certifi>=2025.8.3",
"exceptiongroup>=1.3.0",
'websockets~=13.1;python_version<"3.9"',
'websockets>=15.0.1;python_version>="3.9"',
Expand Down Expand Up @@ -212,7 +212,7 @@
'pytest-xdist==3.6.1;python_version<"3.9"',
'pytest-xdist==3.8.0;python_version>="3.9"',
'parameterized==0.9.0',
"behave==1.2.6",
"behave==1.2.6", # Newer ones had issues
'soupsieve==2.7',
"beautifulsoup4==4.13.4",
'pyotp==2.9.0',
Expand All @@ -234,7 +234,7 @@
# Usage: coverage run -m pytest; coverage html; coverage report
"coverage": [
'coverage>=7.6.1;python_version<"3.9"',
'coverage>=7.10.1;python_version>="3.9"',
'coverage>=7.10.2;python_version>="3.9"',
'pytest-cov>=5.0.0;python_version<"3.9"',
'pytest-cov>=6.2.1;python_version>="3.9"',
],
Expand Down