Skip to content

Refresh selenium and other dependencies #2447

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
Jan 25, 2024
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 examples/github_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ def test_github(self):
self.highlight("div.Layout-sidebar")
self.assert_element("div.repository-content")
self.assert_text("SeleniumBase", "strong a")
self.click('a[title="seleniumbase"]')
self.js_click('a[title="seleniumbase"]')
self.slow_click('td[class*="large"] a[title="fixtures"]')
self.assert_element('td[class*="large"] a[title="base_case.py"]')
4 changes: 3 additions & 1 deletion examples/test_download_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

class DownloadImages(BaseCase):
def test_download_images_directly(self):
if self._multithreaded:
self.open_if_not_url("about:blank")
self.skip("Skipping test in multi-threaded mode.")
self.open("seleniumbase.io/examples/chart_maker/ReadMe")
img_elements_with_src = self.find_elements("img[src]")
unique_src_values = []
Expand All @@ -27,7 +30,6 @@ def test_download_images_directly(self):
def test_download_images_via_screenshot(self):
if self.recorder_mode:
self.open("about:blank")
print("Skipping test in Recorder Mode.")
self.skip("Skipping test in Recorder Mode.")
self.open("seleniumbase.io/error_page/")
img_elements_with_src = self.find_elements("img[src]")
Expand Down
4 changes: 2 additions & 2 deletions examples/test_hack_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def test_hack_search(self):
self.highlight("h1.b_logo", loops=8)
self.highlight_click('[href*="github.com/seleniumbase/SeleniumBase"]')
self.highlight_click('[href="/seleniumbase/SeleniumBase"]')
self.highlight_click('a[title="examples"]')
self.assert_text("examples", "#file-name-id-wide")
self.assert_text("SeleniumBase", "strong a")
self.js_click('a[title="examples"]')
self.highlight('td[class*="large"] a[title="test_hack_search.py"]')
self.click('td[class*="large"] a[title="test_hack_search.py"]')
self.assert_text("test_hack_search.py", "#file-name-id-wide")
Expand Down
4 changes: 2 additions & 2 deletions mkdocs_build/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pipdeptree>=2.13.2
python-dateutil>=2.8.2
Markdown==3.5.2
markdown2==2.4.12
MarkupSafe==2.1.3
MarkupSafe==2.1.4
Jinja2==3.1.3
click==8.1.7
ghp-import==2.1.0
Expand All @@ -20,7 +20,7 @@ lxml==5.1.0
pyquery==2.0.0
readtime==3.0.0
mkdocs==1.5.3
mkdocs-material==9.5.4
mkdocs-material==9.5.5
mkdocs-exclude-search==0.6.6
mkdocs-simple-hooks==0.1.5
mkdocs-material-extensions==1.3.1
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ trio==0.24.0;python_version>="3.8"
trio-websocket==0.11.1
wsproto==1.2.0
selenium==4.11.2;python_version<"3.8"
selenium==4.16.0;python_version>="3.8"
selenium==4.17.2;python_version>="3.8"
cssselect==1.2.0
sortedcontainers==2.4.0
fasteners==0.19
execnet==2.0.2
iniconfig==2.0.0
pluggy==1.2.0;python_version<"3.8"
pluggy==1.3.0;python_version>="3.8"
pluggy==1.4.0;python_version>="3.8"
py==1.11.0
pytest==7.4.4
pytest-html==2.0.1
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.22.6"
__version__ = "4.23.0"
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
print("\nERROR! Publishing to PyPI requires Python>=3.9")
sys.exit()
print("\n*** Checking code health with flake8:\n")
os.system("python -m pip install 'flake8==6.1.0'")
os.system("python -m pip install 'flake8==7.0.0'")
flake8_status = os.system("flake8 --exclude=recordings,temp")
if flake8_status != 0:
print("\nERROR! Fix flake8 issues before publishing to PyPI!\n")
Expand Down Expand Up @@ -161,14 +161,14 @@
'trio-websocket==0.11.1',
'wsproto==1.2.0',
'selenium==4.11.2;python_version<"3.8"',
'selenium==4.16.0;python_version>="3.8"',
'selenium==4.17.2;python_version>="3.8"',
'cssselect==1.2.0',
"sortedcontainers==2.4.0",
'fasteners==0.19',
'execnet==2.0.2',
'iniconfig==2.0.0',
'pluggy==1.2.0;python_version<"3.8"',
'pluggy==1.3.0;python_version>="3.8"',
'pluggy==1.4.0;python_version>="3.8"',
"py==1.11.0",
'pytest==7.4.4',
"pytest-html==2.0.1", # Newer ones had issues
Expand Down Expand Up @@ -233,7 +233,7 @@
'pdfminer.six==20221105;python_version<"3.8"',
'pdfminer.six==20231228;python_version>="3.8"',
'cryptography==39.0.2;python_version<"3.9"',
'cryptography==41.0.7;python_version>="3.9"',
'cryptography==42.0.0;python_version>="3.9"',
'cffi==1.15.1;python_version<"3.8"',
'cffi==1.16.0;python_version>="3.8"',
"pycparser==2.21",
Expand All @@ -247,7 +247,7 @@
],
# pip install -e .[psutil]
"psutil": [
"psutil==5.9.6",
"psutil==5.9.8",
],
# pip install -e .[selenium-stealth]
"selenium-stealth": [
Expand Down