Pass Query as parameter

XcodXamXcodXam RUMember ✭✭

Hi every one!
I try to pass query like argument like ::

    _ var linq = new Func<AppQuery, AppWebQuery>(x=>x.Text(""));
        app.WaitForElement(linq);_

But got an error ::

Cannot implicitly convert type 'Xamarin.UITest.Queries.AppQuery' to 'Xamarin.UITest.Queries.AppWebQuery'

How can I fix it ?

Sign In or Register to comment.