Forum Xamarin Test Cloud (Read Only)

Not able to change the Source (URL) of a WebView

ShantimohanElchuriShantimohanElchuri USMember ✭✭✭✭✭

I am changing it in a Test as below.

app.Query(x => x.Marked("wvMyWebView").Invoke("setUrl", ""));

and then verifying it as below.

var appResult = app.Query(x => x.Marked("wvMyWebView").Invoke("getUrl")).FirstOrDefault().ToString();

I am getting the same string to which the WebView.Source was set to.

What am I missing?

Sign In or Register to comment.