Skip to content

Commit 302fa40

Browse files
authored
Merge pull request #1236 from seleniumbase/refresh-python-dependencies
Refresh Python dependencies
2 parents c93ddae + cfc8812 commit 302fa40

File tree

10 files changed

+35
-29
lines changed

10 files changed

+35
-29
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,8 @@ The code above will leave your browser window open in case there's a failure. (i
378378
--devtools # (Open Chrome's DevTools when the browser opens.)
379379
--reuse-session | --rs # (Reuse the browser session between tests.)
380380
--crumbs # (Delete all cookies between tests reusing a session.)
381-
--maximize-window # (Start tests with the web browser window maximized.)
382-
--save-screenshot # (Save a screenshot at the end of each test.)
381+
--maximize # (Start tests with the web browser window maximized.)
382+
--screenshot # (Save a screenshot at the end of each test.)
383383
--visual-baseline # (Set the visual baseline for Visual/Layout tests.)
384384
--external-pdf # (Set Chrome "plugins.always_open_pdf_externally": True.)
385385
--timeout-multiplier=MULTIPLIER # (Multiplies the default timeout values.)

examples/youtube_search_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def test_youtube_autocomplete_results(self):
77
self.open("https://www.youtube.com/c/MichaelMintz")
88
search_term = "seleniumbase"
99
search_selector = "input#search"
10-
result_selector = 'li[role="presentation"] b'
10+
result_selector = 'li[role="presentation"]'
1111
self.click_if_visible('button[aria-label="Close"]')
1212
self.double_click(search_selector)
1313
self.type(search_selector, search_term)
@@ -21,6 +21,8 @@ def test_youtube_autocomplete_results(self):
2121
'Actual text was "%s"!'
2222
% (search_term, top_result)
2323
)
24+
self.click(result_selector)
25+
self.assert_element_present('a[aria-label*="SeleniumBase"]')
2426

2527
def test_youtube_search_results(self):
2628
""" Verify finding a specific video by performing a YouTube search. """

help_docs/customizing_test_runs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ SeleniumBase provides additional ``pytest`` command-line options for tests:
162162
--devtools # (Open Chrome's DevTools when the browser opens.)
163163
--reuse-session | --rs # (Reuse the browser session between tests.)
164164
--crumbs # (Delete all cookies between tests reusing a session.)
165-
--maximize-window # (Start tests with the web browser window maximized.)
166-
--save-screenshot # (Save a screenshot at the end of each test.)
165+
--maximize # (Start tests with the web browser window maximized.)
166+
--screenshot # (Save a screenshot at the end of each test.)
167167
--visual-baseline # (Set the visual baseline for Visual/Layout tests.)
168168
--external-pdf # (Set Chrome "plugins.always_open_pdf_externally": True.)
169169
--timeout-multiplier=MULTIPLIER # (Multiplies the default timeout values.)

mkdocs_build/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ livereload==2.6.3;python_version>="3.6"
66
joblib==1.1.0;python_version>="3.6"
77
Markdown==3.2.2;python_version>="3.6" and python_version<"3.7"
88
Markdown==3.3.6;python_version>="3.7"
9-
MarkupSafe==2.0.1;python_version>="3.6"
9+
MarkupSafe==2.1.0;python_version>="3.6"
1010
pyparsing==3.0.7;python_version>="3.6"
1111
keyring==23.5.0;python_version>="3.7"
1212
pkginfo==1.8.2;python_version>="3.6"
1313
Jinja2==3.0.3;python_version>="3.6"
14-
click==8.0.3;python_version>="3.6"
14+
click==8.0.4;python_version>="3.6"
1515
zipp==3.7.0;python_version>="3.7"
1616
readme-renderer==32.0
1717
pymdown-extensions==9.2;python_version>="3.7"
@@ -22,7 +22,7 @@ lunr==0.6.1;python_version>="3.6"
2222
nltk==3.7;python_version>="3.6"
2323
watchdog==2.1.6;python_version>="3.6"
2424
mkdocs==1.2.3;python_version>="3.6"
25-
mkdocs-material==8.1.11;python_version>="3.6"
25+
mkdocs-material==8.2.1;python_version>="3.6"
2626
mkdocs-exclude-search==0.6.4;python_version>="3.6"
2727
mkdocs-simple-hooks==0.1.5
2828
mkdocs-material-extensions==1.0.3;python_version>="3.6"

requirements.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ packaging>=21.3;python_version>="3.6"
66
setuptools>=44.1.1;python_version<"3.5"
77
setuptools>=50.3.2;python_version>="3.5" and python_version<"3.6"
88
setuptools>=59.6.0;python_version>="3.6" and python_version<"3.7"
9-
setuptools>=60.9.1;python_version>="3.7"
9+
setuptools>=60.9.3;python_version>="3.7"
1010
setuptools-scm>=5.0.2;python_version<"3.6"
1111
setuptools-scm>=6.4.2;python_version>="3.6"
1212
tomli>=1.2.3;python_version>="3.6" and python_version<"3.7"
@@ -36,20 +36,20 @@ requests==2.27.1;python_version>="3.6"
3636
nose==1.3.7
3737
sniffio==1.2.0;python_version>="3.7"
3838
h11==0.13.0;python_version>="3.7"
39-
trio==0.19.0;python_version>="3.7"
39+
trio==0.20.0;python_version>="3.7"
4040
trio-websocket==0.9.2;python_version>="3.7"
4141
pyopenssl==22.0.0;python_version>="3.7"
4242
wsproto==1.0.0;python_version>="3.7"
4343
selenium==3.141.0;python_version<"3.7"
44-
selenium==4.1.0;python_version>="3.7"
44+
selenium==4.1.2;python_version>="3.7"
4545
msedge-selenium-tools==3.141.3;python_version<"3.7"
4646
more-itertools==5.0.0;python_version<"3.5"
4747
more-itertools==8.12.0;python_version>="3.5"
4848
cssselect==1.1.0
4949
sortedcontainers==2.4.0
5050
filelock==3.2.1;python_version<"3.6"
5151
filelock==3.4.1;python_version>="3.6" and python_version<"3.7"
52-
filelock==3.5.0;python_version>="3.7"
52+
filelock==3.6.0;python_version>="3.7"
5353
fasteners==0.16;python_version<"3.5"
5454
fasteners==0.16.3;python_version>="3.5" and python_version<"3.6"
5555
fasteners==0.17.3;python_version>="3.6"
@@ -94,16 +94,16 @@ decorator==5.1.1;python_version>="3.5"
9494
ipython==5.10.0;python_version<"3.5"
9595
ipython==7.9.0;python_version>="3.5" and python_version<"3.6"
9696
ipython==7.16.1;python_version>="3.6" and python_version<"3.7"
97-
ipython==7.31.1;python_version>="3.7"
97+
ipython==7.32.0;python_version>="3.7"
9898
matplotlib-inline==0.1.3;python_version>="3.7"
9999
colorama==0.4.4
100100
platformdirs==2.0.2;python_version<"3.6"
101101
platformdirs==2.4.0;python_version>="3.6" and python_version<"3.7"
102-
platformdirs==2.5.0;python_version>="3.7"
102+
platformdirs==2.5.1;python_version>="3.7"
103103
pathlib2==2.3.6;python_version<"3.5"
104104
importlib-metadata==2.1.3;python_version<"3.6"
105105
importlib-metadata==4.2.0;python_version>="3.6" and python_version<"3.8"
106-
virtualenv>=20.13.1
106+
virtualenv>=20.13.2
107107
pycparser==2.21
108108
pymysql==0.10.1;python_version<"3.6"
109109
pymysql==1.0.2;python_version>="3.6"
@@ -130,7 +130,7 @@ pdfminer.six==20211012;python_version>="3.6"
130130

131131
coverage==5.5;python_version<"3.6"
132132
coverage==6.2;python_version>="3.6" and python_version<"3.7"
133-
coverage==6.3.1;python_version>="3.7"
133+
coverage==6.3.2;python_version>="3.7"
134134
pytest-cov==2.12.1;python_version<"3.6"
135135
pytest-cov==3.0.0;python_version>="3.6"
136136
flake8==3.7.9;python_version<"3.5"

seleniumbase/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from seleniumbase.__version__ import __version__ # noqa
1+
from selenium import webdriver
2+
from seleniumbase.__version__ import __version__
23
from seleniumbase.core.browser_launcher import get_driver # noqa
34
from seleniumbase.fixtures import js_utils # noqa
45
from seleniumbase.fixtures import page_actions # noqa
@@ -11,9 +12,12 @@
1112

1213
if sys.version_info[0] >= 3:
1314
from seleniumbase import translate # noqa
15+
if sys.version_info >= (3, 7):
16+
webdriver.TouchActions = None # Lifeline for past selenium-wire versions
1417
if sys.version_info >= (3, 10):
15-
collections.Callable = collections.abc.Callable # Lifeline for "nosetests"
18+
collections.Callable = collections.abc.Callable # Lifeline for nosetests
1619
del collections # Undo "import collections" / Simplify "dir(seleniumbase)"
1720
del sys # Undo "import sys" / Simplify "dir(seleniumbase)"
21+
del webdriver # Undo "import webdriver" / Simplify "dir(seleniumbase)"
1822

1923
version_info = [int(i) for i in __version__.split(".") if i.isdigit()] # noqa

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__ = "2.4.14"
2+
__version__ = "2.4.15"

seleniumbase/plugins/pytest_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def pytest_addoption(parser):
8080
--reuse-session | --rs (Reuse browser session between tests.)
8181
--crumbs (Delete all cookies between tests reusing a session.)
8282
--maximize (Start tests with the web browser window maximized.)
83-
--save-screenshot (Save a screenshot at the end of each test.)
83+
--screenshot (Save a screenshot at the end of each test.)
8484
--visual-baseline (Set the visual baseline for Visual/Layout tests.)
8585
--external-pdf (Set Chromium "plugins.always_open_pdf_externally": True.)
8686
--timeout-multiplier=MULTIPLIER (Multiplies the default timeout values.)

seleniumbase/plugins/selenium_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class SeleniumBrowser(Plugin):
5858
--guest (Enable Chrome's Guest mode.)
5959
--devtools (Open Chrome's DevTools when the browser opens.)
6060
--maximize (Start tests with the web browser window maximized.)
61-
--save-screenshot (Save a screenshot at the end of each test.)
61+
--screenshot (Save a screenshot at the end of each test.)
6262
--visual-baseline (Set the visual baseline for Visual/Layout tests.)
6363
--external-pdf (Set Chromium "plugins.always_open_pdf_externally": True.)
6464
--timeout-multiplier=MULTIPLIER (Multiplies the default timeout values.)

setup.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
'setuptools>=44.1.1;python_version<"3.5"',
132132
'setuptools>=50.3.2;python_version>="3.5" and python_version<"3.6"',
133133
'setuptools>=59.6.0;python_version>="3.6" and python_version<"3.7"',
134-
'setuptools>=60.9.1;python_version>="3.7"',
134+
'setuptools>=60.9.3;python_version>="3.7"',
135135
'setuptools-scm>=5.0.2;python_version<"3.6"',
136136
'setuptools-scm>=6.4.2;python_version>="3.6"',
137137
'tomli>=1.2.3;python_version>="3.6" and python_version<"3.7"',
@@ -161,20 +161,20 @@
161161
"nose==1.3.7",
162162
'sniffio==1.2.0;python_version>="3.7"',
163163
'h11==0.13.0;python_version>="3.7"',
164-
'trio==0.19.0;python_version>="3.7"',
164+
'trio==0.20.0;python_version>="3.7"',
165165
'trio-websocket==0.9.2;python_version>="3.7"',
166166
'pyopenssl==22.0.0;python_version>="3.7"',
167167
'wsproto==1.0.0;python_version>="3.7"',
168168
'selenium==3.141.0;python_version<"3.7"',
169-
'selenium==4.1.0;python_version>="3.7"',
169+
'selenium==4.1.2;python_version>="3.7"',
170170
'msedge-selenium-tools==3.141.3;python_version<"3.7"',
171171
'more-itertools==5.0.0;python_version<"3.5"',
172172
'more-itertools==8.12.0;python_version>="3.5"',
173173
"cssselect==1.1.0",
174174
"sortedcontainers==2.4.0",
175175
'filelock==3.2.1;python_version<"3.6"',
176176
'filelock==3.4.1;python_version>="3.6" and python_version<"3.7"',
177-
'filelock==3.5.0;python_version>="3.7"',
177+
'filelock==3.6.0;python_version>="3.7"',
178178
'fasteners==0.16;python_version<"3.5"',
179179
'fasteners==0.16.3;python_version>="3.5" and python_version<"3.6"',
180180
'fasteners==0.17.3;python_version>="3.6"',
@@ -219,16 +219,16 @@
219219
'ipython==5.10.0;python_version<"3.5"',
220220
'ipython==7.9.0;python_version>="3.5" and python_version<"3.6"',
221221
'ipython==7.16.1;python_version>="3.6" and python_version<"3.7"',
222-
'ipython==7.31.1;python_version>="3.7"', # Requires matplotlib-inline
222+
'ipython==7.32.0;python_version>="3.7"', # Requires matplotlib-inline
223223
'matplotlib-inline==0.1.3;python_version>="3.7"', # ipython needs this
224224
"colorama==0.4.4",
225225
'platformdirs==2.0.2;python_version<"3.6"',
226226
'platformdirs==2.4.0;python_version>="3.6" and python_version<"3.7"',
227-
'platformdirs==2.5.0;python_version>="3.7"',
227+
'platformdirs==2.5.1;python_version>="3.7"',
228228
'pathlib2==2.3.6;python_version<"3.5"', # Sync with "virtualenv"
229229
'importlib-metadata==2.1.3;python_version<"3.6"',
230230
'importlib-metadata==4.2.0;python_version>="3.6" and python_version<"3.8"', # noqa: E501
231-
"virtualenv>=20.13.1", # Sync with importlib-metadata and pathlib2
231+
"virtualenv>=20.13.2", # Sync with importlib-metadata and pathlib2
232232
"pycparser==2.21",
233233
'pymysql==0.10.1;python_version<"3.6"',
234234
'pymysql==1.0.2;python_version>="3.6"',
@@ -255,7 +255,7 @@
255255
"coverage": [
256256
'coverage==5.5;python_version<"3.6"',
257257
'coverage==6.2;python_version>="3.6" and python_version<"3.7"',
258-
'coverage==6.3.1;python_version>="3.7"',
258+
'coverage==6.3.2;python_version>="3.7"',
259259
'pytest-cov==2.12.1;python_version<"3.6"',
260260
'pytest-cov==3.0.0;python_version>="3.6"',
261261
],

0 commit comments

Comments
 (0)