Skip to content

Commit 8c0f3ff

Browse files
authored
Merge pull request #3915 from seleniumbase/cdp-mode-patch-53
CDP Mode: Patch 53
2 parents 3b58d65 + 914d907 commit 8c0f3ff

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ setuptools~=70.2;python_version<"3.10"
55
setuptools>=80.9.0;python_version>="3.10"
66
wheel>=0.45.1
77
attrs>=25.3.0
8-
certifi>=2025.7.14
8+
certifi>=2025.8.3
99
exceptiongroup>=1.3.0
1010
websockets~=13.1;python_version<"3.9"
1111
websockets>=15.0.1;python_version>="3.9"
@@ -77,7 +77,7 @@ rich>=14.1.0,<15
7777
# ("pip install -r requirements.txt" also installs this, but "pip install -e ." won't.)
7878

7979
coverage>=7.6.1;python_version<"3.9"
80-
coverage>=7.10.1;python_version>="3.9"
80+
coverage>=7.10.2;python_version>="3.9"
8181
pytest-cov>=5.0.0;python_version<"3.9"
8282
pytest-cov>=6.2.1;python_version>="3.9"
8383
flake8==5.0.4;python_version<"3.9"

seleniumbase/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# seleniumbase package
2-
__version__ = "4.40.7"
2+
__version__ = "4.40.8"

seleniumbase/undetected/cdp_driver/browser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -935,12 +935,12 @@ async def get(self, endpoint: str):
935935
async def post(self, endpoint, data):
936936
return await self._request(endpoint, data)
937937

938-
async def _request(self, endpoint, method: str = "get", data: dict = None):
938+
async def _request(self, endpoint, method: str = "GET", data: dict = None):
939939
url = urllib.parse.urljoin(
940940
self.api, f"json/{endpoint}" if endpoint else "/json"
941941
)
942942
if data and method.lower() == "get":
943-
raise ValueError("get requests cannot contain data")
943+
raise ValueError("GET requests cannot contain data")
944944
if not url:
945945
url = self.api + endpoint
946946
request = urllib.request.Request(url)

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
'setuptools>=80.9.0;python_version>="3.10"',
154154
'wheel>=0.45.1',
155155
'attrs>=25.3.0',
156-
"certifi>=2025.7.14",
156+
"certifi>=2025.8.3",
157157
"exceptiongroup>=1.3.0",
158158
'websockets~=13.1;python_version<"3.9"',
159159
'websockets>=15.0.1;python_version>="3.9"',
@@ -212,7 +212,7 @@
212212
'pytest-xdist==3.6.1;python_version<"3.9"',
213213
'pytest-xdist==3.8.0;python_version>="3.9"',
214214
'parameterized==0.9.0',
215-
"behave==1.2.6",
215+
"behave==1.2.6", # Newer ones had issues
216216
'soupsieve==2.7',
217217
"beautifulsoup4==4.13.4",
218218
'pyotp==2.9.0',
@@ -234,7 +234,7 @@
234234
# Usage: coverage run -m pytest; coverage html; coverage report
235235
"coverage": [
236236
'coverage>=7.6.1;python_version<"3.9"',
237-
'coverage>=7.10.1;python_version>="3.9"',
237+
'coverage>=7.10.2;python_version>="3.9"',
238238
'pytest-cov>=5.0.0;python_version<"3.9"',
239239
'pytest-cov>=6.2.1;python_version>="3.9"',
240240
],

0 commit comments

Comments
 (0)