sbabcoc / Selenium-Foundation

Selenium Foundation is an automation framework designed to extend and enhance the capabilities provided by Selenium (WebDriver).
Apache License 2.0
59 stars 16 forks source link

JsUtility needs to get the JavascriptExecutor from the search context #209

Closed sbabcoc closed 2 years ago

sbabcoc commented 2 years ago

Currently, there's no way to specify a FirefoxShadowRoot search context as a JavaScript execution argument. This makes component-bound search operations impossible. We need to implement a mechanism that decomposes the search context into its shadow host element and a JavaScript statement to acquire the shadow root.