Unable to handle Shadow Element – Javascript
I am trying to print nested shadow element text using below code but no luck. I have tried to use same code throough console windows and its giving me expected text. Code : import org.openqa.selenium.JavascriptException; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import…