Skip to content

Releases: seleniumbase/SeleniumBase

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

Update the way custom settings are parsed

19 Feb 08:57
7211a2c
Compare
Choose a tag to compare
  • Update the way custom settings are parsed
  • Add option to change the default MySQL port from 3306
  • Rename skip_test() method to skip() to prevent auto-discovery issues

Handle utf-8 encoding with the IDE export converter

18 Feb 07:21
cfd53fa
Compare
Choose a tag to compare
  • Handle utf-8 encoding with the Selenium IDE export converter tool
  • Update Python dependencies
  • Add the minimum test example (only spin up a browser and quit)

Update default Geckodriver version on Windows

07 Feb 02:54
1dbac6e
Compare
Choose a tag to compare

Update default Geckodriver version on Windows

  • Using v0.24.0 on Windows to prevent issues
    (The default version for other systems is still v0.26.0)

Add additional scroll methods

05 Feb 07:06
7442fa6
Compare
Choose a tag to compare

Add additional scroll methods:

  • Add scroll_to_top() and scroll_to_bottom()
  • Update tqdm Python dependency