Skip to content

Add option: "--enable-ws" to enable Chrome's Web Security

Compare
Choose a tag to compare
@mdmintz mdmintz released this 30 Aug 01:48
· 5111 commits to master since this release
04e71ca

Add option: --enable-ws to enable Chrome's Web Security

SeleniumBase disables Chrome's Web Security by default. Read https://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome to learn why. In some special cases, there may be reasons to keep it enabled for automated testing. Now there's a way to keep it enabled, by using --enable-ws.

Additional changes:

  • Scroll to iframes before switching into them
  • Update the Brython integration example
  • Update Python dependencies:
    -- more-itertools==8.5.0;python_version>="3.5"
    -- prompt-toolkit==3.0.7;python_version>="3.6.1"
    -- ipython==7.18.1;python_version>="3.7"
    -- brython==3.8.10