|
|
| |
Firefox::Marionette::Keys(3) |
User Contributed Perl Documentation |
Firefox::Marionette::Keys(3) |
Firefox::Marionette::Keys - Human readable special keys for the Marionette
protocol
use Firefox::Marionette();
use Firefox::Marionette::Keys qw(:all);
use v5.10;
my $firefox = Firefox::Marionette->new();
$firefox->chrome()->perform(
$firefox->key_down(CONTROL()),
$firefox->key_down('l'),
$firefox->key_up('l'),
$firefox->key_up(CONTROL())
)->content();
This module handles the implementation of the Firefox Marionette human readable
special keys
returns the Alt (the same as ALT_LEFT) codepoint, which is 0xE00A
returns the Alt Left codepoint, which is 0xE00A
returns the Alt Right codepoint, which is 0xE052
returns the Arrow Down codepoint, which is 0xE015
returns the Arrow Left codepoint, which is 0xE012
returns the Arrow Right codepoint, which is 0xE014
returns the Arrow Up codepoint, which is 0xE013
returns the Backspace codepoint, which is 0xE003
returns the Cancel codepoint, which is 0xE001
returns the Clear codepoint, which is 0xE005
returns the Control (the same as CONTROL_LEFT) codepoint, which is 0xE009
returns the Control Left codepoint, which is 0xE009
returns the Control Right codepoint, which is 0xE051
returns the Delete codepoint, which is 0xE017
returns the End codepoint, which is 0xE010
returns the Enter codepoint, which is 0xE006
returns the Escape codepoint, which is 0xE00C
returns the F1 codepoint, which is 0xE031
returns the F2 codepoint, which is 0xE032
returns the F3 codepoint, which is 0xE033
returns the F4 codepoint, which is 0xE034
returns the F5 codepoint, which is 0xE035
returns the F6 codepoint, which is 0xE036
returns the F7 codepoint, which is 0xE037
returns the F8 codepoint, which is 0xE038
returns the F9 codepoint, which is 0xE039
returns the F10 codepoint, which is 0xE03A
returns the F11 codepoint, which is 0xE03B
returns the F12 codepoint, which is 0xE03C
returns the Help codepoint, which is 0xE002
returns the Home codepoint, which is 0xE011
returns the Insert codepoint, which is 0xE016
returns the Meta (the same as META_LEFT) codepoint, which is 0xE03D
returns the Meta Left codepoint, which is 0xE03D
returns the Meta Right codepoint, which is 0xE053
returns the Page Up codepoint, which is 0xE00E
returns the Page Down codepoint, which is 0xE00F
returns the Pause codepoint, which is 0xE00B
returns the Shift (the same as SHIFT_LEFT) codepoint, which is 0xE008
returns the Shift Left codepoint, which is 0xE008
returns the Shift Right codepoint, which is 0xE050
returns the Space codepoint, which is 0xE00D
returns the Tab codepoint, which is 0xE004
returns the Zenkaku (full-width) - Hankaku (half-width) codepoint, which is
0xE040
Firefox::Marionette::Keys requires no configuration files or environment
variables.
To report a bug, or view the current list of bugs, please visit
<https://github.com/david-dick/firefox-marionette/issues>
David Dick "<ddick@cpan.org>"
Copyright (c) 2021, David Dick
"<ddick@cpan.org>". All rights
reserved.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself. See "perlartistic"
in perlartistic.
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE
SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO
THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE
PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR
CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO
YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER
PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |