Hi,
trying to move to uiautomator2 and faced 1 issue:
have (for example) 2 elements. one within my app, another is a button on an android system dialog:
package.name:id/country
and
android:id/button
before uiautomator2 both worked fine without specifying package name, now if I do find_element(id: “button”) -> it fails. (ruby)
same with specifying activity capability
’package.name.Activity.name’, -> test starts
’Activity.name’ -> test fails to start
what is good strategy to work with locators now ? any good doc about uiautomator2 (and its changes)? couldn’t find any
thank you