Skip to content

Releases: seleniumbase/SeleniumBase

Fix MySQL installation for Windows

07 May 17:17
c01d68a
Compare
Choose a tag to compare

Fix MySQL installation for windows. (Mainly removing the direct requirement because of issues installing mysqlclient directly, which mainly broke SeleniumBase completely when installing on Windows machines).

Add Messenger and update versions of Python libraries

07 May 05:30
798f9a9
Compare
Choose a tag to compare

Add ability to display custom messages inside the web browser during tests.
Update versions of pytest, selenium, and ipython.
Load jQuery with https instead of http.

MySQL Deploy Script and updates

17 Apr 07:36
8ca1165
Compare
Choose a tag to compare

For the most part, updating the MySQL functionality and adding MySQL tests inside the deploy script.

Refactor duplicate code into a single method.

09 Apr 00:26
5164319
Compare
Choose a tag to compare

Refactor duplicate code into a single method.
Small change: A had some duplicate code, so I made it into a single method.

Improve JavaScript actions

07 Apr 23:37
2e7e8bc
Compare
Choose a tag to compare

Mostly improving JavaScript actions

Add ad-blocking functionality

06 Apr 03:42
aa741cf
Compare
Choose a tag to compare

Add ad-blocking functionality

Usage:

On the command line:
"pytest SOME_TEST.py --ad_block"
OR
"nosetests SOME_TEST.py --ad_block"

From inside a test:
self.ad_block()

Uses AD_BLOCK_LIST from seleniumbase/config/ad_block_list.py to determine what gets blocked.

Use Python standard library methods when possible

03 Apr 01:42
ce0078a
Compare
Choose a tag to compare

I'm replacing an old method I wrote a long time ago called jq_format() with a Python standard library method that I probably didn't know about then, called re.escape(), which performs the same intended action.

Minor updates

30 Mar 23:05
aa97671
Compare
Choose a tag to compare

Don't set a specific version for pip & setuptools

Minor updates

28 Mar 08:21
5079d79
Compare
Choose a tag to compare
  • Use plain javascript instead of jQuery when highlighting elements because some websites (such as GitHub) have Content Security Policy directives that prevent loading jQuery for custom scripts.

  • If waiting for angularjs to load as part of ready state, wait less time

  • Set maximum time for activating jQuery to be settings.MINI_TIMEOUT

Adding more methods for handling webdriver actions

27 Mar 03:30
5c293a9
Compare
Choose a tag to compare
  • self.open_new_window(switch_to=True)
  • self.switch_to_window(window, timeout=settings.SMALL_TIMEOUT)
  • self.switch_to_default_window()
  • self.get_new_driver(browser=None, headless=None, servername=None, port=None, proxy=None, switch_to=True)
  • self.switch_to_driver(driver)
  • self.switch_to_default_driver()