Hi,
i want to automate an APP and try to find the identifiers. I use APPIUM Inspector for that. i can find the xpath of the buttons i want to click, but these buttons have loc{0,0} and size {0,0}.
You can find a screenshot here : http://www.directupload.net/file/d/4532/nang425o_png.htm
Am i doing something wrong or does the APP developer need to fix the issue ?
I am using a real device with Android 6.0.1
try enable “setWebContentsDebuggingEnabled” in your Android app for webview.
The dev says its enabled
Kwizzad.init(
new Configuration.Builder()
.applicationContext(this)
.apiKey("")
.debug(true)
.build()
);
}
you should have something like:
WebView.setWebContentsDebuggingEnabled(true);
its enabled in the settings. still i can not find elements in the webview. i have few questions about this topic.
- is it possible to find the webview elements with appium inspector
- in chrome inspector i can find different xpath then in appium inspector, can i use this xpath with appium ?
- can i use cssSelectors with appium and how can i find them ? can i take the cssSelektors i get from chrome inspector ?
Thanks for your answer, you really help me to get my first appium tests running.
the issue is, i don’t have ids in the app. Only having xpath or css selectors.