Unable to identify elements in Appium inspector instead of one element whole panel type of area is selecting when I click on menu I want to select on element from the menu which comes from left to right.
Please help me so that I can find a single element’s xpath right now whole panel is getting selected in appium inspector. this is on android.
Solution I tried it does not work:-
1.capabilities.setCapability(“enableMultiWindows”, true);
Actually, element is not selectable on appium inspector what should I do for that? I add appium:ignoreUnimportantViews boolean true in capabilities still whole blue panel is selected not individual element.
Greetings for the day!!
Yes, I wrote code like this
Set contextNames = driver.getContextHandles();
for (String contextName : contextNames) {
System.out.println(contextName); //prints out something like NATIVE_APP \n WEBVIEW_1
}
driver.context(“WEBVIEW_chrome”); // set context to WEBVIEW_1
But I want to know how should I inspect that element which are in menu. I got your point that web view is there but in appium inspector what should I do to find element id or xpath. This code I will write it will help me when I will run program but right now I need to find xpath or any other field so that I can write click method for it. Might be I am confusing but in short I need help for the steps by which I can get xpath or resource id etc so that after the given code I can write click code.
Steps like these:-
Open app with capabilities using appium inspector.
Set native mode in appium inspector.
Click on menu and refresh page.
Inspect one item from menu.
On this stage I can see whole panel not individual item is selectable that I can inspect.
Please update steps what I have to do to inspect element on web view using appium inspector.