You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/ReadMe.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
## [<imgsrc="https://seleniumbase.io/img/logo6.png"title="SeleniumBase"width="32">](https://github.com/seleniumbase/SeleniumBase/)Running Example Tests:
1
+
## [<imgsrc="https://seleniumbase.io/img/logo6.png"title="SeleniumBase"width="32">](https://github.com/seleniumbase/SeleniumBase/) Example Tests:
* Tests are structured using [20 unique syntax formats](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md).
8
8
* Logs from test failures are saved to ``./latest_logs/``.
9
9
* Tests can be run with [multiple command-line options](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/customizing_test_runs.md).
10
-
*Example tests are found in: **[SeleniumBase/examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples)**.
10
+
*Examples can be found in: **[SeleniumBase/examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples)**.
11
11
12
12
(NOTE: Some example tests fail on purpose to demonstrate [logging features](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/example_logs/ReadMe.md).)
Copy file name to clipboardExpand all lines: examples/tour_examples/ReadMe.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
> **[IntroJS](https://introjs.com/)**, **[Bootstrap Tour](http://bootstraptour.com/)**, **[DriverJS](https://kamranahmed.info/driver.js/)**, **[Shepherd](https://shepherdjs.dev/)**, and **[Hopscotch](https://linkedinattic.github.io/hopscotch/)**.
10
10
11
-
<b>Example tour: (with autoplay)</b>
11
+
<b>A tour demo: (with autoplay)</b>
12
12
13
13
<imgsrc="https://seleniumbase.io/cdn/gif/introjs_tour.gif"title="SeleniumBase Tour of Google"><br>
14
14
@@ -19,7 +19,7 @@ cd examples/tour_examples
19
19
pytest maps_introjs_tour.py --interval=1
20
20
```
21
21
22
-
<b>Here's a longer example:</b>
22
+
<b>Here's a longer version:</b>
23
23
24
24
<imgsrc="https://seleniumbase.io/cdn/gif/google_tour_4.gif"title="SeleniumBase Tour of Google"><br>
25
25
@@ -97,7 +97,7 @@ You can play a tour by calling:
97
97
98
98
All methods have the optional ``name`` argument, which is only needed if you're creating multiple tours at once. Then, when you're adding a step or playing a tour, SeleniumBase knows which tour you're referring too. You can avoid using the ``name`` arg for multiple tours if you play a tour before creating a new one.
99
99
100
-
### Here's an example of using SeleniumBase Tours:
100
+
### Here's how the code looks:
101
101
102
102
```python
103
103
from seleniumbase import BaseCase
@@ -122,7 +122,7 @@ class MyTourClass(BaseCase):
122
122
self.play_tour()
123
123
```
124
124
125
-
#### This example is from [google_tour.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/tour_examples/google_tour.py), which you can run from the ``examples/tour_examples`` folder with the following command:
125
+
#### That code is from [google_tour.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/tour_examples/google_tour.py), which you can run from the ``tour_examples/`` folder with the following command:
Copy file name to clipboardExpand all lines: help_docs/webdriver_installation.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,13 @@ sbase get geckodriver
10
10
sbase get edgedriver
11
11
```
12
12
13
-
*If you have the latest version of Chrome installed, get the latest chromedriver (<i>otherwise it defaults to chromedriver 72.0.3626.69 for compatibility reasons</i>):
13
+
*``sbase get chromedriver`` automatically tries to detect the version you need. If it can't, it defaults to ``chromedriver 72.0.3626.69`` for compatibility reasons. To force getting the latest version, use:
14
14
15
15
```bash
16
16
sbase get chromedriver latest
17
17
```
18
18
19
-
* You can also install a specific version of chromedriver for a specific version of Chrome:
19
+
* You can also get a specific version of chromedriver for a specific version of Chrome:
* If you run a test without the correct webdriver installed, the driver will be downloaded automatically.
34
+
* If you run a test without the correct webdriver available, the driver will be downloaded automatically.
35
35
36
36
If you plan on using the [Selenium Grid integration](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/utilities/selenium_grid/ReadMe.md) (which allows for remote webdriver), you'll need to put the drivers on your System PATH. On macOS and Linux, ``/usr/local/bin`` is a good PATH spot. On Windows, you may need to set the System PATH under Environment Variables to include the location where you placed the driver files. As a shortcut, you could place the driver files into your Python ``Scripts/`` folder in the location where you have Python installed, which should already be on your System PATH.
37
37
38
-
Here's where you can go to manually install web drivers from the source:
38
+
Here's where you can go to manually get web drivers from the source:
39
39
40
40
* For Chrome, get [Chromedriver](https://sites.google.com/a/chromium.org/chromedriver/downloads) on your System PATH.
41
41
@@ -69,7 +69,7 @@ brew upgrade geckodriver
69
69
70
70
**Linux shortcuts**:
71
71
72
-
If you still need the web drivers, here are some scripts to help you install chromedriver and geckodriver on a Linux machine:
72
+
If you still need the web drivers, here are some scripts to help you get chromedriver and geckodriver on a Linux machine:
Copy file name to clipboardExpand all lines: integrations/google_cloud/ReadMe.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
### Building a browser-based test automation server on the [Google Cloud Platform](https://cloud.google.com/) by using [SeleniumBase](https://github.com/seleniumbase/SeleniumBase)
2
2
3
-
(This tutorial, [from a previous Google Cloud Meetup](https://www.meetup.com/Boston-Google-Cloud-Meetup/events/230839686/?showDescription=true), will teach you how to setup a Linux server for running automated browser tests. The cost of running this server is about [$13.61/month on Google Cloud](https://console.cloud.google.com/launcher/details/bitnami-launchpad/jenkins) (enough to handle **5 parallel tests**). This is less expensive than using other platforms.)
3
+
(This tutorial, [from a previous Google Cloud Meetup](https://www.meetup.com/Boston-Google-Cloud-Meetup/events/230839686/?showDescription=true), will teach you how to setup a Linux server for running automated browser tests. The cost of running this server is about [$13.60/month on Google Cloud](https://console.cloud.google.com/launcher/details/bitnami-launchpad/jenkins) (enough to handle **5 parallel tests**). This is less expensive than using other platforms.)
4
4
5
5
<!-- YouTube View --><ahref="https://www.youtube.com/watch?v=n-sno20R9P0"><imgsrc="https://seleniumbase.io/other/gcp_video_thumb.png"title="SeleniumBase on YouTube"width="285" /></a>
6
6
<!-- GitHub Only --><p>(<b><ahref="https://www.youtube.com/watch?v=n-sno20R9P0">SeleniumBase Google Cloud Video</a></b>)</p>
0 commit comments