Skip to content

Commit c08b4d2

Browse files
committed
Add a Korean example test
1 parent 7e2caed commit c08b4d2

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Korean Language Test - Python 3 Only!
2+
from seleniumbase.translate.korean import 셀레늄_테스트_케이스 # noqa
3+
4+
5+
class 테스트_클래스(셀레늄_테스트_케이스): # noqa
6+
7+
def test_실시예_1(self):
8+
self.URL_열기("https://ko.wikipedia.org/wiki/")
9+
self.텍스트_확인("위키백과")
10+
self.요소_확인('[title="위키백과:소개"]')
11+
self.텍스트를_업데이트("#searchInput", "김치")
12+
self.클릭("#searchButton")
13+
self.텍스트_확인("김치", "#firstHeading")
14+
self.요소_확인('img[alt="Various kimchi.jpg"]')
15+
self.텍스트를_업데이트("#searchInput", "비빔밥")
16+
self.클릭("#searchButton")
17+
self.텍스트_확인("비빔밥", "#firstHeading")
18+
self.요소_확인('img[alt="Dolsot-bibimbap.jpg"]')

0 commit comments

Comments
 (0)