NAME
Appium::TouchActions - Perform touch actions through appium: taps, swipes, scrolling
VERSION
version 0.0804
METHODS
tap ( $x, $y )
Perform a precise tap at a certain location on the device, specified either by pixels or percentages. All values are relative to the top left of the device - by percentages, (0,0) would be the top left, and (1, 1) would be the bottom right.
As per the Appium documentation, values between 0 and 1 will be interepreted as percentages. (0.5, 0.5) will click in the center of the screen. Values greater than 1 will be interpreted as pixels. (10, 10) will click at ten pixels away from the top and left edges of the screen.
# tap in the center of the screen
$appium->tap( 0.5, 0.5 )
# tap a pixel position
$appium->tap( 300, 500 );
SEE ALSO
Please see those modules/websites for more information related to this module.
BUGS
Please report any bugs or feature requests on the bugtracker website https://github.com/appium/perl-client/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
Daniel Gempesaw <gempesaw@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Daniel Gempesaw.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.