2

So I have an element in the DOM this is how it actually looks in chrome

I was trying to locate it like this

[FindById("someId"), As = FindAs.ShadowHost, Visibility = Visibility.Any]
public Text<_> SomeElement {get; private set;}

And I get an error, originally thrown from Selenium:

OpenQa.Selenium.WebDriverException: javascript error: Cannot read property 'children' of null
J. Doe
  • 21
  • 3

0 Answers0