Skip to content

Commit 6ebb8c2

Browse files
committed
Update Chinese and Japanese examples
1 parent 0bbefd4 commit 6ebb8c2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

examples/translations/ReadMe.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class 我的测试类(硒测试用例):
1919
self.输入文本('input[name="search"]', "舞龍")
2020
self.单击('button:contains("搜索")')
2121
self.断言文本("舞龍", "#firstHeading")
22+
self.断言元素('img[src*="Chinese_draak.jpg"]')
2223
```
2324

2425
Here's another example:
@@ -36,6 +37,9 @@ class 私のテストクラス(セレニウムテストケース):
3637
self.クリックして("#searchform button")
3738
self.テキストを確認する("アニメ", "#firstHeading")
3839
self.JS入力('input[name="search"]', "寿司")
40+
self.クリックして("#searchform button")
41+
self.テキストを確認する("寿司", "#firstHeading")
42+
self.要素を確認する('img[alt="握り寿司"]')
3943
```
4044

4145
<a id="translation_api"></a>

help_docs/translations.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class 我的测试类(硒测试用例):
2121
self.输入文本('input[name="search"]', "舞龍")
2222
self.单击('button:contains("搜索")')
2323
self.断言文本("舞龍", "#firstHeading")
24+
self.断言元素('img[src*="Chinese_draak.jpg"]')
2425
```
2526

2627
Here's another example:
@@ -38,6 +39,9 @@ class 私のテストクラス(セレニウムテストケース):
3839
self.クリックして("#searchform button")
3940
self.テキストを確認する("アニメ", "#firstHeading")
4041
self.JS入力('input[name="search"]', "寿司")
42+
self.クリックして("#searchform button")
43+
self.テキストを確認する("寿司", "#firstHeading")
44+
self.要素を確認する('img[alt="握り寿司"]')
4145
```
4246

4347
<a id="translation_api"></a>

0 commit comments

Comments
 (0)