Skip to content

Commit a401b37

Browse files
committed
Update the docs
1 parent 0d20968 commit a401b37

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

examples/example_logs/ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@ nosetests test_suite.py --report
9494

9595
--------
9696

97-
<div><a href="https://github.com/seleniumbase/SeleniumBase"><img src="https://seleniumbase.io/img/sb_logo_7.png" alt="SeleniumBase" width="240" /></a></div>
97+
<div><a href="https://github.com/seleniumbase/SeleniumBase"><img src="https://seleniumbase.io/img/sb_logo_10.png" alt="SeleniumBase" width="240" /></a></div>

help_docs/ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,6 @@
113113
--------
114114

115115
<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/">
116-
<img src="https://seleniumbase.io/img/sb_logo_7.png" alt="SeleniumBase" width="260" />
116+
<img src="https://seleniumbase.io/img/sb_logo_10.png" alt="SeleniumBase" width="260" />
117117
</a></p>
118118
<!-- View on GitHub -->

help_docs/chinese.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<meta property="og:site_name" content="SeleniumBase | Docs">
22
<meta property="og:title" content="SeleniumBase | Reliable Test Automation" />
33
<meta property="og:description" content="Simple browser automation and testing with Python." />
4-
<meta property="og:image" content="https://seleniumbase.io/img/sb_logo_7.png" />
4+
<meta property="og:image" content="https://seleniumbase.io/img/sb_logo_10.png" />
55
<link rel="icon" href="https://seleniumbase.io/img/logo3a.png" />
66
<section align="center"><div align="center">
77
<h2>✅ 可靠的测试自动化</h2>
88
</div></section>
99
<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/">
10-
<img src="https://seleniumbase.io/img/sb_logo_7.png" alt="SeleniumBase" width="260" />
10+
<img src="https://seleniumbase.io/img/sb_logo_10.png" alt="SeleniumBase" width="260" />
1111
</a></p>
1212
<p align="center"><div align="center"><b>测试框架 </b><a href="https://github.com/seleniumbase/SeleniumBase"><img src="https://img.shields.io/badge/✅%20💛%20查看代码-在GitHub%20🌎%20🚀-02A79E.svg" alt="SeleniumBase on GitHub" /></a></div></p>
1313
<section align="center"><div align="center"><h3>中文文件 <=> <a href="https://seleniumbase.io/">English Docs</h3></div></section>

help_docs/syntax_formats.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ from seleniumbase import BaseCase
119119
class LoginPage():
120120

121121
def login_to_swag_labs(self, sb, username):
122-
sb.open("https://www.saucedemo.com/v1")
122+
sb.open("https://www.saucedemo.com")
123123
sb.type("#user-name", username)
124124
sb.type("#password", "secret_sauce")
125125
sb.click('input[type="submit"]')
@@ -129,7 +129,7 @@ class MyTests(BaseCase):
129129
def test_swag_labs_login(self):
130130
LoginPage().login_to_swag_labs(self, "standard_user")
131131
self.assert_element("#inventory_container")
132-
self.assert_text("Products", "div.product_label")
132+
self.assert_element('div:contains("Sauce Labs Backpack")')
133133
```
134134

135135
(See <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/boilerplates/samples/swag_labs_test.py">examples/boilerplates/samples/swag_labs_test.py</a> for the full test.)
@@ -142,7 +142,7 @@ This is similar to the classic Page Object Model with <code>BaseCase</code> inhe
142142
class LoginPage():
143143

144144
def login_to_swag_labs(self, sb, username):
145-
sb.open("https://www.saucedemo.com/v1")
145+
sb.open("https://www.saucedemo.com")
146146
sb.type("#user-name", username)
147147
sb.type("#password", "secret_sauce")
148148
sb.click('input[type="submit"]')
@@ -152,7 +152,7 @@ class MyTests():
152152
def test_swag_labs_login(self, sb):
153153
LoginPage().login_to_swag_labs(sb, "standard_user")
154154
sb.assert_element("#inventory_container")
155-
sb.assert_text("Products", "div.product_label")
155+
sb.assert_element('div:contains("Sauce Labs Backpack")')
156156
```
157157

158158
(See <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/boilerplates/samples/sb_swag_test.py">examples/boilerplates/samples/sb_swag_test.py</a> for the full test.)

help_docs/thank_you.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[<img src="https://seleniumbase.io/cdn/img/super_logo_sb.png" title="SeleniumBase" width="290">](https://github.com/seleniumbase/SeleniumBase/blob/master/README.md)
22

3-
### Thank you for choosing SeleniumBase!
3+
### Thank you for flying with SeleniumBase!
44

55
--------
66

7-
<p><div><a align="center" href="https://github.com/seleniumbase/SeleniumBase/"><img align="center" src="https://seleniumbase.io/img/sb_logo_7.png" alt="SeleniumBase" width="260"></a></div></p>
7+
<p><div><a align="center" href="https://github.com/seleniumbase/SeleniumBase/"><img align="center" src="https://seleniumbase.io/img/sb_logo_10.png" alt="SeleniumBase" width="260"></a></div></p>
88

9-
<p><div><b>Follow us somewhere:</b></div></p>
9+
<p><div><b>Follow us on social media:</b></div></p>
1010

1111
<p><div><span><a href="https://github.com/seleniumbase/SeleniumBase"><img src="https://seleniumbase.io/img/social/share_github.svg" title="SeleniumBase on GitHub" alt="SeleniumBase on GitHub" width="56" /></a></span>
1212
<span><a href="https://gitter.im/seleniumbase/SeleniumBase"><img src="https://seleniumbase.io/img/social/share_gitter.svg" title="SeleniumBase on Gitter" alt="SeleniumBase on Gitter" width="44" /></a></span>

0 commit comments

Comments
 (0)