Forum Libraries, Components, and Plugins

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Shadow root elements are not accessible using .WebView()

We are trying to automate Android application developed in Xamarin which contains a WebView and loads UI from some URL. Contents are hidden and and are inside the Shadow-root. We are able to locate these elements and perform actions on them using Selenium WebDriver and JavaScriptExecutor.

But using x=>x.WebView().XPath() and x=>x.WebView().InvokeJS() functions are not able to locate the elements.

Can anybody help us?

Tagged:
Sign In or Register to comment.