io.selendroid.server.model.internal.execute_native
Class FindElementByAndroidTag
java.lang.Object
io.selendroid.server.model.internal.execute_native.FindElementByAndroidTag
- All Implemented Interfaces:
- NativeExecuteScript
public class FindElementByAndroidTag
- extends Object
- implements NativeExecuteScript
This class contains the functionality to find an Android view with the tag name assigned to it
sample usage : WebElement element = (WebElement)webDriver.executeScript("findElementByAndroidTag", "view_test_tag");
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
viewAnalyzer
protected ViewHierarchyAnalyzer viewAnalyzer
FindElementByAndroidTag
public FindElementByAndroidTag(KnownElements knownElements,
ServerInstrumentation serverInstrumentation,
KeySender keys)
executeScript
public Object executeScript(org.json.JSONArray args)
- Specified by:
executeScript in interface NativeExecuteScript
getTopLevelViews
protected List<android.view.View> getTopLevelViews()
Copyright © 2014. All rights reserved.