Skip to content

Commit ca8451d

Browse files
authored
Merge pull request #2447 from seleniumbase/update-selenium
Refresh selenium and other dependencies
2 parents 8c46e83 + a095e2b commit ca8451d

File tree

7 files changed

+16
-14
lines changed

7 files changed

+16
-14
lines changed

examples/github_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ def test_github(self):
1515
self.highlight("div.Layout-sidebar")
1616
self.assert_element("div.repository-content")
1717
self.assert_text("SeleniumBase", "strong a")
18-
self.click('a[title="seleniumbase"]')
18+
self.js_click('a[title="seleniumbase"]')
1919
self.slow_click('td[class*="large"] a[title="fixtures"]')
2020
self.assert_element('td[class*="large"] a[title="base_case.py"]')

examples/test_download_images.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
class DownloadImages(BaseCase):
88
def test_download_images_directly(self):
9+
if self._multithreaded:
10+
self.open_if_not_url("about:blank")
11+
self.skip("Skipping test in multi-threaded mode.")
912
self.open("seleniumbase.io/examples/chart_maker/ReadMe")
1013
img_elements_with_src = self.find_elements("img[src]")
1114
unique_src_values = []
@@ -27,7 +30,6 @@ def test_download_images_directly(self):
2730
def test_download_images_via_screenshot(self):
2831
if self.recorder_mode:
2932
self.open("about:blank")
30-
print("Skipping test in Recorder Mode.")
3133
self.skip("Skipping test in Recorder Mode.")
3234
self.open("seleniumbase.io/error_page/")
3335
img_elements_with_src = self.find_elements("img[src]")

examples/test_hack_search.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ def test_hack_search(self):
2424
self.highlight("h1.b_logo", loops=8)
2525
self.highlight_click('[href*="github.com/seleniumbase/SeleniumBase"]')
2626
self.highlight_click('[href="/seleniumbase/SeleniumBase"]')
27-
self.highlight_click('a[title="examples"]')
28-
self.assert_text("examples", "#file-name-id-wide")
27+
self.assert_text("SeleniumBase", "strong a")
28+
self.js_click('a[title="examples"]')
2929
self.highlight('td[class*="large"] a[title="test_hack_search.py"]')
3030
self.click('td[class*="large"] a[title="test_hack_search.py"]')
3131
self.assert_text("test_hack_search.py", "#file-name-id-wide")

mkdocs_build/requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pipdeptree>=2.13.2
77
python-dateutil>=2.8.2
88
Markdown==3.5.2
99
markdown2==2.4.12
10-
MarkupSafe==2.1.3
10+
MarkupSafe==2.1.4
1111
Jinja2==3.1.3
1212
click==8.1.7
1313
ghp-import==2.1.0
@@ -20,7 +20,7 @@ lxml==5.1.0
2020
pyquery==2.0.0
2121
readtime==3.0.0
2222
mkdocs==1.5.3
23-
mkdocs-material==9.5.4
23+
mkdocs-material==9.5.5
2424
mkdocs-exclude-search==0.6.6
2525
mkdocs-simple-hooks==0.1.5
2626
mkdocs-material-extensions==1.3.1

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ trio==0.24.0;python_version>="3.8"
2828
trio-websocket==0.11.1
2929
wsproto==1.2.0
3030
selenium==4.11.2;python_version<"3.8"
31-
selenium==4.16.0;python_version>="3.8"
31+
selenium==4.17.2;python_version>="3.8"
3232
cssselect==1.2.0
3333
sortedcontainers==2.4.0
3434
fasteners==0.19
3535
execnet==2.0.2
3636
iniconfig==2.0.0
3737
pluggy==1.2.0;python_version<"3.8"
38-
pluggy==1.3.0;python_version>="3.8"
38+
pluggy==1.4.0;python_version>="3.8"
3939
py==1.11.0
4040
pytest==7.4.4
4141
pytest-html==2.0.1

seleniumbase/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# seleniumbase package
2-
__version__ = "4.22.6"
2+
__version__ = "4.23.0"

setup.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
print("\nERROR! Publishing to PyPI requires Python>=3.9")
3535
sys.exit()
3636
print("\n*** Checking code health with flake8:\n")
37-
os.system("python -m pip install 'flake8==6.1.0'")
37+
os.system("python -m pip install 'flake8==7.0.0'")
3838
flake8_status = os.system("flake8 --exclude=recordings,temp")
3939
if flake8_status != 0:
4040
print("\nERROR! Fix flake8 issues before publishing to PyPI!\n")
@@ -161,14 +161,14 @@
161161
'trio-websocket==0.11.1',
162162
'wsproto==1.2.0',
163163
'selenium==4.11.2;python_version<"3.8"',
164-
'selenium==4.16.0;python_version>="3.8"',
164+
'selenium==4.17.2;python_version>="3.8"',
165165
'cssselect==1.2.0',
166166
"sortedcontainers==2.4.0",
167167
'fasteners==0.19',
168168
'execnet==2.0.2',
169169
'iniconfig==2.0.0',
170170
'pluggy==1.2.0;python_version<"3.8"',
171-
'pluggy==1.3.0;python_version>="3.8"',
171+
'pluggy==1.4.0;python_version>="3.8"',
172172
"py==1.11.0",
173173
'pytest==7.4.4',
174174
"pytest-html==2.0.1", # Newer ones had issues
@@ -233,7 +233,7 @@
233233
'pdfminer.six==20221105;python_version<"3.8"',
234234
'pdfminer.six==20231228;python_version>="3.8"',
235235
'cryptography==39.0.2;python_version<"3.9"',
236-
'cryptography==41.0.7;python_version>="3.9"',
236+
'cryptography==42.0.0;python_version>="3.9"',
237237
'cffi==1.15.1;python_version<"3.8"',
238238
'cffi==1.16.0;python_version>="3.8"',
239239
"pycparser==2.21",
@@ -247,7 +247,7 @@
247247
],
248248
# pip install -e .[psutil]
249249
"psutil": [
250-
"psutil==5.9.6",
250+
"psutil==5.9.8",
251251
],
252252
# pip install -e .[selenium-stealth]
253253
"selenium-stealth": [

0 commit comments

Comments
 (0)