Releases: seleniumbase/SeleniumBase
Releases · seleniumbase/SeleniumBase
Add the Korean translation of SeleniumBase
Add the Korean translation of SeleniumBase
- Adding SeleniumBase methods in Korean
- Also updating a Python dependency
- Add an example test in Korean
Here's what the example test in Korean looks like:
from seleniumbase.translate.korean import 셀레늄_테스트_케이스 # noqa
class 테스트_클래스(셀레늄_테스트_케이스): # noqa
def test_실시예_1(self):
self.URL_열기("https://ko.wikipedia.org/wiki/")
self.텍스트_확인("위키백과")
self.요소_확인('[title="위키백과:소개"]')
self.텍스트를_업데이트("#searchInput", "김치")
self.클릭("#searchButton")
self.텍스트_확인("김치", "#firstHeading")
self.요소_확인('img[alt="Various kimchi.jpg"]')
self.텍스트를_업데이트("#searchInput", "비빔밥")
self.클릭("#searchButton")
self.텍스트_확인("비빔밥", "#firstHeading")
self.요소_확인('img[alt="Dolsot-bibimbap.jpg"]')
Add the Japanese translation of SeleniumBase
Add the Japanese translation of SeleniumBase
- Adding SeleniumBase methods in Japanese
- Also updating the Chinese translation
- Add an example test in Japanese
Here's what the example test in Japanese looks like:
from seleniumbase.translate.japanese import セレンテストケース
class テストクラス(セレンテストケース):
def test_例1(self):
self.URLを開く("https://ja.wikipedia.org/wiki/")
self.テキストを確認する("ウィキペディア")
self.要素を確認する('[title="メインページに移動する"]')
self.テキストを更新("#searchInput", "アニメ")
self.クリックして("#searchButton")
self.テキストを確認する("アニメ", "#firstHeading")
self.テキストを更新("#searchInput", "寿司")
self.クリックして("#searchButton")
self.テキストを確認する("寿司", "#firstHeading")
self.要素を確認する('img[alt="握り寿司"]')
Fix the XPath-to-CSS Selector converter
Fix the XPath-to-CSS Selector converter
- Also update a few Python dependencies
Fix the hover_and_click() method for XPath selectors
Fix the hover_and_click()
method for XPath selectors
Add Chinese Language Translations
Add Chinese language translations
- Add Chinese language translations with an example test
- Add the
--no-sandbox
and--disable-gpu
Chrome options
Example Test:
# Chinese Language Test - Python 3 Only!
from seleniumbase.translate.chinese import 硒测试用例 # noqa
class 测试类(硒测试用例): # noqa
def test_例子1(self):
self.开启网址("https://xkcd.in/comic?lg=cn&id=353")
self.断言标题("Python - XKCD中文站")
self.断言元素("#content div.comic-body")
self.断言文本("上漫画")
self.单击("div.nextLink")
self.断言文本("老妈的逆袭", "#content h1")
self.单击链接文本("下一篇")
self.断言文本("敲桌子", "#content h1")
self.断言文本("有时候无聊就是最棒的乐趣")
self.回去()
self.单击链接文本("兰德尔·门罗")
self.断言文本("兰德尔·门罗", "#firstHeading")
self.更新文本("#searchInput", "程式设计")
self.单击("#searchButton")
self.断言文本("程序设计", "#firstHeading")
Fix the xpath-to-css converter
Fix the xpath-to-css converter
Update Python dependencies
Update Python dependencies
Update reports, settings parsing, and "soupsieve"
Update reports, custom settings parsing, and "soupsieve"
- Update report_helper to include Edge browser
- Include MySQL Port when parsing custom settings
- Update "soupsieve" dependency for Python 3.5+
Update dependencies and improve error-handling
Update dependencies and improve error-handling
- Update
requests
,idna
, andtqdm
- Improve error-handling with PDF extraction methods
Better error-handling with custom settings parsing
- Better error-handling with custom settings parsing