mirror of
https://github.com/appium/appium.git
synced 2026-05-04 17:29:28 -05:00
@@ -42,7 +42,9 @@ public class AndroidElementClassMap {
|
||||
throw new UnallowedTagNameException(selector_text);
|
||||
} else {
|
||||
final String mappedSel = inst.map.get(selector_text);
|
||||
if (mappedSel != null) {
|
||||
if ("view".equals(selector_text)) {
|
||||
return "android.view.View";
|
||||
} else if (mappedSel != null) {
|
||||
return "android.widget." + mappedSel;
|
||||
} else if (selector_text.contains(".")) {
|
||||
return selector_text;
|
||||
@@ -61,6 +63,7 @@ public class AndroidElementClassMap {
|
||||
map.put("absseek", "AbsSeekBar");
|
||||
map.put("absspinner", "AbsSpinner");
|
||||
map.put("absolute", "AbsoluteLayout");
|
||||
map.put("adapterview", "AdapterView");
|
||||
map.put("adapterviewanimator", "AdapterViewAnimator");
|
||||
map.put("adapterviewflipper", "AdapterViewFlipper");
|
||||
map.put("analogclock", "AnalogClock");
|
||||
|
||||
Reference in New Issue
Block a user