Share via


AppQuery.XPath(String) Method

Definition

Matches elements in web views matching the given XPath selector. Must be used on web view elements. If used alone, will default to android.webkit.WebView for Android and UIWebView for iOS.

public Xamarin.UITest.Queries.AppWebQuery XPath (string xPathSelector);
member this.XPath : string -> Xamarin.UITest.Queries.AppWebQuery
Public Function XPath (xPathSelector As String) As AppWebQuery

Parameters

xPathSelector
String

The css selector to match.

Returns

Applies to