Skip to content

Add the ability to set the web browser's Language/Locale

Compare
Choose a tag to compare
@mdmintz mdmintz released this 20 Aug 07:12
· 5183 commits to master since this release
eb56344

Add the ability to set the web browser's Language/Locale, and more

Add the ability to set the browser's Language/Locale:

Examples:

  • pytest --locale="ru"
  • pytest --locale="zh_cn"

See https://seleniumbase.io/help_docs/locale_codes/ for a list of valid codes.

Also:

  • Make improvements to JavaScript and jQuery methods
  • Improve error logging

And, add methods for activating and deactivating Chrome's Design Mode

self.activate_design_mode()

self.deactivate_design_mode()