java - How can i find with android espresso web all the elements in Class name and choose what i need -


i trying find currency value in class, web using class in couple of places. in web console found this:

document.getelementsbyclassname("casino-gaming-balance-replacer")[1].innertext 

and value "£ 93.37"

in android studio used:

onwebview().withnotimeout().withelement(findelement(locator.class_name, "casino-gaming-balance-replacer")).check(webmatches(gettext(), containsstring("x"))); 

but got nothing.

i want see elements in class , save in "string = temp". how can it?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -