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
<h2><imgsrc="https://seleniumbase.io/img/sb_icon.png"title="SeleniumBase"width="24" /> Example Boilerplates:</h2>
5
+
<h2><imgsrc="https://seleniumbase.github.io/img/logo6.png"title="SeleniumBase"width="24" /> Example Boilerplates:</h2>
6
6
7
7
* Boilerplate files are located in the [SeleniumBase => examples/boilerplates/](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/boilerplates) folder.
8
8
* Boilerplates can help you structure tests using common design patterns such as the Page Object Model.
9
9
* For all 20 SeleniumBase design patterns, see: [Syntax Formats](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md)
* <b>[base_test_case.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/boilerplates/base_test_case.py):</b> This example demonstrates a test class inheriting [BaseCase](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/fixtures/base_case.py) for adding new methods.
14
14
* <b>[page_objects.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/boilerplates/page_objects.py):</b> This example demonstrates Page Objects for reusing commonly-used selectors in tests.
<h3><imgsrc="https://seleniumbase.io/img/logo6.png"title="SeleniumBase"width="32" /> Here's a line chart example:</h3>
56
+
<h3><imgsrc="https://seleniumbase.github.io/img/logo6.png"title="SeleniumBase"width="32" /> Here's a line chart example:</h3>
57
57
58
58
```python
59
59
from seleniumbase import BaseCase
@@ -83,7 +83,7 @@ pytest test_line_chart.py
83
83
Because that presentation above has an ``interval`` set to ``8``, it will automatically advance to the next slide after 8 seconds. (Or exit if there are no more slides.)
84
84
85
85
86
-
<h3><imgsrc="https://seleniumbase.io/img/logo6.png"title="SeleniumBase"width="32" /> For a more advanced example (multiple charts in a presentation):</h3>
86
+
<h3><imgsrc="https://seleniumbase.github.io/img/logo6.png"title="SeleniumBase"width="32" /> For a more advanced example (multiple charts in a presentation):</h3>
87
87
88
88
```python
89
89
from seleniumbase import BaseCase
@@ -138,7 +138,7 @@ pytest chart_presentation.py
138
138
Multi-Series charts can also be created. Try the available examples to learn more.
<b>SeleniumBase</b> supports the following 10 languages: <i>English</i>, <i>Chinese</i>, <i>Dutch</i>, <i>French</i>, <i>Italian</i>, <i>Japanese</i>, <i>Korean</i>, <i>Portuguese</i>, <i>Russian</i>, and <i>Spanish</i>. (Examples can be found in <ahref="https://github.com/seleniumbase/SeleniumBase/tree/master/examples/translations">SeleniumBase/examples/translations</a>)
6
6
@@ -39,7 +39,7 @@ class 私のテストクラス(セレニウムテストケース):
39
39
```
40
40
41
41
<aid="translation_api"></a>
42
-
<h2><imgsrc="https://seleniumbase.io/img/logo6.png"title="SeleniumBase"width="32" /> Translation API 🈺</h2>
42
+
<h2><imgsrc="https://seleniumbase.github.io/img/logo6.png"title="SeleniumBase"width="32" /> Translation API 🈺</h2>
43
43
44
44
You can use SeleniumBase to selectively translate the method names of any test from one language to another with the console scripts interface. Additionally, the ``import`` line at the top of the Python file will change to import the new ``BaseCase``. Example: ``BaseCase`` becomes ``CasoDeTeste`` when a test is translated into Portuguese.
45
45
@@ -88,4 +88,4 @@ plus the 2-letter language code of the new language.
0 commit comments