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
Post a Comment