Forum Xamarin Test Cloud (Read Only)


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.

Query and CSS Question

Inside REPL, during my UI Test, when I run:
app.Query( v => v.WebView().Css(""))
I get the following error:
Error while performing Query(WebView().Css("
")) Exception: Newtonsoft.Json.JsonReaderException: Error reading string. Unexpected token: StartObject. Path 'Class', line 10, position 13. at Newtonsoft.Json.JsonReader.ReadAsStringInternal () [0x000ac] in <47ece66bc2e74f64a82f9fd17f4f43f4>:0 at Newtonsoft.Json.JsonTextReader.ReadAsString () [0x00000] in <47ece66bc2e74f64a82f9fd17f4f43f4>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x0006d] in <47ece66bc2e74f64a82f9fd17f4f43f4>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x001b1] in <47ece66bc2e74f64a82f9fd17f4f43f4>:0

But when I run
app.Query( v => v.WebView().Css("*").Index(0))
It runs just fine.

So I guess my real question is how can I pull down all the CSS without iterating through all 70+ indexes?


Sign In or Register to comment.