Skip to content

Releases: seleniumbase/SeleniumBase

Add the Korean translation of SeleniumBase

21 Mar 19:42
f5303d3
Compare
Choose a tag to compare

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

20 Mar 04:41
8e60171
Compare
Choose a tag to compare

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

18 Mar 03:57
e47087c
Compare
Choose a tag to compare

Fix the XPath-to-CSS Selector converter

  • Also update a few Python dependencies

Fix the hover_and_click() method for XPath selectors

16 Mar 13:11
129efcc
Compare
Choose a tag to compare

Fix the hover_and_click() method for XPath selectors

Add Chinese Language Translations

16 Mar 05:34
60928dd
Compare
Choose a tag to compare

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

15 Mar 13:51
5c7f26b
Compare
Choose a tag to compare

Fix the xpath-to-css converter

Update Python dependencies

15 Mar 00:03
752adc5
Compare
Choose a tag to compare

Update Python dependencies

Update reports, settings parsing, and "soupsieve"

23 Feb 06:36
1506f8e
Compare
Choose a tag to compare

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

21 Feb 07:07
b12b64a
Compare
Choose a tag to compare

Update dependencies and improve error-handling

  • Update requests, idna, and tqdm
  • Improve error-handling with PDF extraction methods

Better error-handling with custom settings parsing

19 Feb 09:25
b4038c8
Compare
Choose a tag to compare
  • Better error-handling with custom settings parsing