Share via


AppQuery.InvokeJS(String) Method

Definition

Invokes javascript on the view elements matched by the query. If view elements other than WebViews are encountered, the execution will halt and an Exception will be thrown.

public Xamarin.UITest.Queries.InvokeJSAppQuery InvokeJS (string javascript);
member this.InvokeJS : string -> Xamarin.UITest.Queries.InvokeJSAppQuery
Public Function InvokeJS (javascript As String) As InvokeJSAppQuery

Parameters

javascript
String

The javascript to invoke on the views

Returns

Applies to