Appium
view release on metacpan or search on metacpan
lib/Appium.pm view on Meta::CPAN
# Android UIAutomator
$driver->find_element( $locator , 'android' );
# iOS accessibility identifier
$driver->find_element( $locator , 'accessibility_id' );
Note that using C<id> as your finding strategy also seems to find
elements by accessibility_id.
If you have Selenium::Remote::Driver v0.24 or later, you'll also have
access to these non-croaking, auto-generated parameter versions of the
finders; see L</Selenium::Remote::Driver/find_element> for more
information. These subs take one argument: the locator for the element
you want, and they'll throw a warning and return C<0> if an element is
not found.
find_element_by_id
find_element_by_name
find_element_by_xpath
find_element_by_class
( run in 1.458 second using v1.01-cache-2.11-cpan-88abd93f124 )