Skip to content

Unable to interact with light DOM children in browser using polyfill #5470

@Artur-

Description

@Artur-

Meta -

OS: macOS High Sierra 10.13.2
Selenium Version:
3.8.1
Browser:
Works on Chrome+Safari which have native Shadow DOM support
Broken in IE11, Edge, Firefox

Expected Behavior -

  • You can interact with an element which is in light DOM only, regardless of if the browser supports native shadow DOM or not.
  • An element returned from executeScript can be used in a subsequent call instead of always throwing StaleElementReferenceException

Actual Behavior -

An element which is in light DOM only can be returned by executeScript but trying to perform any action on the element results in StaleElementReferenceException

Steps to reproduce -

git clone https://github.com/Artur-/shadydom-selenium
cd shadydom-selenium
mvn install

Metadata

Metadata

Assignees

No one assigned

    Labels

    J-awaiting answerQuestion asked of user; a reply moves it to triage again

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions