Skip to content

Commit 52947ad

Browse files
authored
Merge pull request #1400 from seleniumbase/multiple-updates
Multiple updates (for version 3.4.0)
2 parents 536aa79 + bd229b1 commit 52947ad

19 files changed

+212
-73
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ RUN wget https://github.com/mozilla/geckodriver/releases/download/v0.31.0/geckod
9292
RUN tar -xvzf geckodriver-v0.31.0-linux64.tar.gz
9393
RUN chmod +x geckodriver
9494
RUN mv geckodriver /usr/local/bin/
95-
RUN wget https://chromedriver.storage.googleapis.com/2.44/chromedriver_linux64.zip
95+
RUN wget https://chromedriver.storage.googleapis.com/72.0.3626.69/chromedriver_linux64.zip
9696
RUN unzip chromedriver_linux64.zip
9797
RUN chmod +x chromedriver
9898
RUN mv chromedriver /usr/local/bin/

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta property="og:image" content="https://seleniumbase.io/cdn/img/mac_sb_logo_5.png" />
66
<link rel="icon" href="https://seleniumbase.io/img/green_logo2.png" />
77

8-
<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.io/cdn/img/sb_logo_gs6.png" alt="SeleniumBase" title="SeleniumBase" width="250" /></a></p>
8+
<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.io/cdn/img/sb_logo_gs7.png" alt="SeleniumBase" title="SeleniumBase" width="275" /></a></p>
99
<p align="center"><b>Powerful end-to-end testing with <a href="https://www.selenium.dev/documentation/">Selenium</a>, <a href="https://www.python.org/about/">Python</a>, and <a href="https://docs.pytest.org/en/latest/how-to/usage.html">pytest</a>.</b></p>
1010

1111
<p align="center"><a href="https://pypi.python.org/pypi/seleniumbase" target="_blank"><img src="https://img.shields.io/pypi/v/seleniumbase.svg?color=3399EE" alt="PyPI version" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/releases" target="_blank"><img src="https://img.shields.io/github/v/release/seleniumbase/SeleniumBase.svg?color=22AAEE" alt="GitHub version" /></a> <a href="https://seleniumbase.io"><img src="https://img.shields.io/badge/docs-seleniumbase.io-11BBAA.svg" alt="SeleniumBase Docs" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/actions" target="_blank"><img src="https://github.com/seleniumbase/SeleniumBase/workflows/CI%20build/badge.svg" alt="SeleniumBase GitHub Actions" /></a> <a href="https://gitter.im/seleniumbase/SeleniumBase" target="_blank"><img src="https://badges.gitter.im/seleniumbase/SeleniumBase.svg" alt="SeleniumBase" /></a></p>
@@ -175,12 +175,12 @@ pip install -U seleniumbase
175175
🔵 Type ``seleniumbase`` or ``sbase`` to verify that SeleniumBase was installed successfully:
176176

177177
```bash
178-
______ __ _ ____
179-
/ ____/__ / /__ ____ (_)_ ______ ___ / _ \____ ________
180-
\__ \/ _ \/ / _ \/ __ \/ / / / / __ `__ \/ /_) / __ \/ ___/ _ \
181-
___/ / __/ / __/ / / / / /_/ / / / / / / /_) / (_/ /__ / __/
182-
/____/\___/_/\___/_/ /_/_/\__,_/_/ /_/ /_/_____/\__,_/____/\___/
183-
-----------------------------------------------------------------
178+
______ __ _ ____
179+
/ ____/__ / /__ ____ (_)_ ______ ___ / _ \____ ________
180+
\__ \/ _ \/ / _ \/ __ \/ / / / / __ `__ \ / /_) / __ \/ ___/ _ \
181+
___/ / __/ / __/ / / / / /_/ / / / / / // /_) / (_/ /__ / __/
182+
/____/\___/_/\___/_/ /_/_/\__,_/_/ /_/ /_//_____/\__,_/____/\___/
183+
------------------------------------------------------------------
184184
185185
* USAGE: "seleniumbase [COMMAND] [PARAMETERS]"
186186
* OR: "sbase [COMMAND] [PARAMETERS]"
@@ -465,8 +465,9 @@ The code above will leave your browser window open in case there's a failure. (i
465465
--highlights=NUM # (Number of highlight animations for Demo Mode actions.)
466466
--message-duration=SECONDS # (The time length for Messenger alerts.)
467467
--check-js # (Check for JavaScript errors after page loads.)
468-
--ad-block # (Block some types of display ads after page loads.)
468+
--ad-block # (Block some types of display ads from loading.)
469469
--block-images # (Block images from loading during tests.)
470+
--do-not-track # (Indicate to websites that you don't want to be tracked.)
470471
--verify-delay=SECONDS # (The delay before MasterQA verification checks.)
471472
--recorder # (Enables the Recorder for turning browser actions into code.)
472473
--rec-behave # (Same as Recorder Mode, but also generates behave-gherkin.)

examples/raw_parameter_script.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
sb._dash_initialized = False
9494
sb.message_duration = None
9595
sb.block_images = False
96+
sb.do_not_track = False
9697
sb.external_pdf = False
9798
sb.remote_debug = False
9899
sb.settings_file = None

examples/test_apple_site.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ def test_apple_developer_site_webdriver_instructions(self):
2323
self.assert_element("nav.documentation-nav")
2424
self.assert_text(title, "h1")
2525
self.assert_text("Enable WebDriver and run a test.", "div.abstract")
26-
self.highlight("h2")
27-
h3 = "h3:nth-of-type(%s)"
26+
self.highlight("div.content h2")
27+
h3 = "div.content h3:nth-of-type(%s)"
2828
self.assert_text("Make Sure You Have Safari’s WebDriver", h3 % "1")
2929
self.assert_text("Get the Correct Selenium Library", h3 % "2")
3030
self.assert_text("Configure Safari to Enable WebDriver", h3 % "3")

help_docs/customizing_test_runs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@ pytest my_first_test.py --settings-file=custom_settings.py
147147
--highlights=NUM # (Number of highlight animations for Demo Mode actions.)
148148
--message-duration=SECONDS # (The time length for Messenger alerts.)
149149
--check-js # (Check for JavaScript errors after page loads.)
150-
--ad-block # (Block some types of display ads after page loads.)
150+
--ad-block # (Block some types of display ads from loading.)
151151
--block-images # (Block images from loading during tests.)
152+
--do-not-track # (Indicate to websites that you don't want to be tracked.)
152153
--verify-delay=SECONDS # (The delay before MasterQA verification checks.)
153154
--recorder # (Enables the Recorder for turning browser actions into code.)
154155
--rec-behave # (Same as Recorder Mode, but also generates behave-gherkin.)

help_docs/features_list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<a id="feature_list"></a>
55
<h2><img src="https://seleniumbase.io/img/green_logo.png" title="SeleniumBase" width="32" /> Features: 🎯</h2>
66

7-
* A complete test automation framework for web and mobile E2E UI testing.
8-
* Has [Recorder Mode](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/recorder_mode.md) for generating scripts from recorded actions. (``--rec``)
7+
* A powerful Python framework for browser automation and E2E UI testing.
8+
* Includes [Recorder Mode](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/recorder_mode.md) for instantly generating browser tests in Python.
99
* Supports multiple browsers, tabs, iframes, and proxies in the same test.
1010
* Automatic smart-waiting improves reliability and prevents flaky tests.
1111
* Supports [pytest](https://docs.pytest.org/en/latest/), [unittest](https://docs.python.org/3/library/unittest.html), [nose](http://nose.readthedocs.io/en/latest/), and [behave](https://behave.readthedocs.io/en/stable/index.html) for finding/running tests.

help_docs/method_summary.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ self.is_element_present(selector, by="css selector")
6767

6868
self.is_element_visible(selector, by="css selector")
6969

70+
self.is_element_clickable(selector, by="css selector")
71+
7072
self.is_element_enabled(selector, by="css selector")
7173

7274
self.is_text_visible(text, selector="html", by="css selector")

help_docs/webdriver_installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ brew upgrade geckodriver
7474
If you still need the web drivers, here are some scripts to help you install chromedriver and geckodriver on a Linux machine:
7575

7676
```bash
77-
wget http://chromedriver.storage.googleapis.com/2.44/chromedriver_linux64.zip
77+
wget https://chromedriver.storage.googleapis.com/72.0.3626.69/chromedriver_linux64.zip
7878
unzip chromedriver_linux64.zip
7979
mv chromedriver /usr/local/bin/
8080
chmod +x /usr/local/bin/chromedriver

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ chardet==4.0.0;python_version>="3.5" and python_version<"3.7"
3636
chardet==5.0.0;python_version>="3.7"
3737
charset-normalizer==2.0.12;python_version>="3.5" and python_version<"3.7"
3838
charset-normalizer==2.1.0;python_version>="3.7"
39-
urllib3==1.26.9
39+
urllib3==1.26.10;python_version<"3.5"
40+
urllib3==1.26.9;python_version>="3.5" and python_version<"3.6"
41+
urllib3==1.26.10;python_version>"3.6"
4042
requests==2.27.1;python_version<"3.5"
4143
requests==2.25.1;python_version>="3.5" and python_version<"3.6"
4244
requests==2.27.1;python_version>="3.6" and python_version<"3.7"

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__ = "3.3.7"
2+
__version__ = "3.4.0"

0 commit comments

Comments
 (0)