Version: 1.0
Constants
Device
#
Chrome DevTools Device Emulation
Member | Default Value | Comment |
---|---|---|
blackBerryZ30 | "BlackBerry Z30" | |
blackBerryZ30Landscape | "BlackBerry Z30 landscape" | |
blackberryPlayBook | "Blackberry PlayBook" | |
blackberryPlayBookLandscape | "Blackberry PlayBook landscape" | |
galaxyNoteIi | "Galaxy Note II" | |
galaxyNoteIiLandscape | "Galaxy Note II landscape" | |
galaxyNote_3 | "Galaxy Note 3" | |
galaxyNote_3Landscape | "Galaxy Note 3 landscape" | |
galaxyS5 | "Galaxy S5" | |
galaxyS5Landscape | "Galaxy S5 landscape" | |
galaxySIii | "Galaxy S III" | |
galaxySIiiLandscape | "Galaxy S III landscape" | |
iPad | "iPad" | |
iPadLandscape | "iPad landscape" | |
iPadMini | "iPad Mini" | |
iPadMiniLandscape | "iPad Mini landscape" | |
iPadPro | "iPad Pro" | |
iPadProLandscape | "iPad Pro landscape" | |
iPhone4 | "iPhone 4" | |
iPhone4Landscape | "iPhone 4 landscape" | |
iPhone5 | "iPhone 5" | |
iPhone5Landscape | "iPhone 5 landscape" | |
iPhone6 | "iPhone 6" | |
iPhone6Landscape | "iPhone 6 landscape" | |
iPhone6Plus | "iPhone 6 Plus" | |
iPhone6PlusLandscape | "iPhone 6 Plus landscape" | |
iPhoneX | "iPhone X" | |
iPhoneXLandscape | "iPhone X landscape" | |
kindleFireHdx | "Kindle Fire HDX" | |
kindleFireHdxLandscape | "Kindle Fire HDX landscape" | |
lgOptimusL70 | "LG Optimus L70" | |
lgOptimusL70Landscape | "LG Optimus L70 landscape" | |
microsoftLumia550 | "Microsoft Lumia 550" | |
microsoftLumia950 | "Microsoft Lumia 950" | |
microsoftLumia950Landscape | "Microsoft Lumia 950 landscape" | |
nexus10 | "Nexus 10" | |
nexus10Landscape | "Nexus 10 landscape" | |
nexus4 | "Nexus 4" | |
nexus4Landscape | "Nexus 4 landscape" | |
nexus5 | "Nexus 5" | |
nexus5Landscape | "Nexus 5 landscape" | |
nexus5X | "Nexus 5X" | |
nexus5XLandscape | "Nexus 5X landscape" | |
nexus6 | "Nexus 6" | |
nexus6Landscape | "Nexus 6 landscape" | |
nexus6P | "Nexus 6P" | |
nexus6PLandscape | "Nexus 6P landscape" | |
nexus7 | "Nexus 7" | |
nexus7Landscape | "Nexus 7 landscape" | |
nokiaLumia_520 | "Nokia Lumia 520" | |
nokiaLumia_520Landscape | "Nokia Lumia 520 landscape" | |
nokiaN9 | "Nokia N9" | |
nokiaN9Landscape | "Nokia N9 landscape" |
MouseButtons
#
Member | Default Value | Comment |
---|---|---|
LEFT | "left" | |
MIDDLE | "middle" | |
RIGHT | "right" |
Key
#
Lists all available keyboard control keys which can be used when using sendKeys or sendKeyCombinations.
Name | Default Value | Comment |
---|---|---|
ADD | "NumpadAdd" | |
ALT | "AltLeft" | |
ARROW_DOWN | "ArrowDown" | |
ARROW_LEFT | "ArrowLeft" | |
ARROW_RIGHT | "ArrowRight" | |
ARROW_UP | "ArrowUp" | |
BACK_SPACE | "Backspace" | |
CANCEL | "Cancel" | |
CLEAR | "Clear" | |
COMMAND | "MetaLeft" | |
CONTROL | "ControlLeft" | |
DECIMAL | "NumpadDecimal" | |
DELETE | "Delete" | |
DIVIDE | "NumpadDivide" | |
DOWN | "ArrowDown" | |
END | "End" | |
ENTER | "Enter" | |
EQUALS | "Equal" | |
ESCAPE | "Escape" | |
F1 | "F1" | |
F10 | "F10" | |
F11 | "F11" | |
F12 | "F12" | |
F2 | "F2" | |
F3 | "F3" | |
F4 | "F4" | |
F5 | "F5" | |
F6 | "F6" | |
F7 | "F7" | |
F8 | "F8" | |
F9 | "F9" | |
HELP | "Help" | |
HOME | "Home" | |
INSERT | "Insert" | |
LEFT | "ArrowLeft" | |
META | "MetaLeft" | |
MULTIPLY | "NumpadMultiply" | |
NULL | null | |
NUMPAD0 | "Numpad0" | |
NUMPAD1 | "Numpad1" | |
NUMPAD2 | "Numpad2" | |
NUMPAD3 | "Numpad3" | |
NUMPAD4 | "Numpad4" | |
NUMPAD5 | "Numpad5" | |
NUMPAD6 | "Numpad6" | |
NUMPAD7 | "Numpad7" | |
NUMPAD8 | "Numpad8" | |
NUMPAD9 | "Numpad9" | |
PAGE_DOWN | "PageDown" | |
PAGE_UP | "PageUp" | |
PAUSE | "Pause" | |
RETURN | "Enter" | |
RIGHT | "ArrowRight" | |
SEMICOLON | "Semicolon" | |
SEPARATOR | null | |
SHIFT | "ShiftLeft" | |
SPACE | "Space" | |
SUBTRACT | "NumpadSubtract" | |
TAB | "Tab" | |
UP | "ArrowUp" |