Skip to content

Conversation

@mdmintz
Copy link
Member

@mdmintz mdmintz commented Nov 25, 2021

Shadow DOM overhaul and more

  • This resolves Chromium 96 (and newer) changes how Shadow DOM works. Changes are required to SeleniumBase to continue interacting with Shadow roots. #1083
  • Update code for Shadow DOM changes in Chromium 96+
  • Update dependencies:
    -- selenium==4.1.0;python_version>="3.7"
    -- packaging>=21.3;python_version>="3.6"
    -- setuptools>=59.2.0;python_version>="3.6"
    -- charset-normalizer==2.0.8;python_version>="3.5"
    -- more-itertools==8.12.0;python_version>="3.5"
    -- cryptography==36.0.0;python_version>="3.7"
    -- typing-extensions==3.10.0.2;python_version<"3.6"
    -- typing-extensions==4.0.0;python_version>="3.6" and python_version<"3.8"
  • Update default Firefox preferences:
    -- "browser.contentblocking.database.enabled", True
  • Add method: self.is_valid_url(url)
  • Allow URLs that start with view-source: when calling self.open(url)
  • Add the Recorder Desktop App (located in examples/desktop_apps/.

@mdmintz mdmintz merged commit d570ae8 into master Nov 25, 2021
@mdmintz mdmintz deleted the shadow-dom-overhaul-and-more branch November 25, 2021 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chromium 96 (and newer) changes how Shadow DOM works. Changes are required to SeleniumBase to continue interacting with Shadow roots.

2 participants