// Licensed to the Software Freedom Conservancy (SFC) under one1// or more contributor license agreements. See the NOTICE file2// distributed with this work for additional information3// regarding copyright ownership. The SFC licenses this file4// to you under the Apache License, Version 2.0 (the5// "License"); you may not use this file except in compliance6// with the License. You may obtain a copy of the License at7//8// http://www.apache.org/licenses/LICENSE-2.09//10// Unless required by applicable law or agreed to in writing,11// software distributed under the License is distributed on an12// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY13// KIND, either express or implied. See the License for the14// specific language governing permissions and limitations15// under the License.1617goog.provide('webdriver.Key');181920/**21* Representations of pressable keys that aren't text. These are stored in22* the Unicode PUA (Private Use Area) code points, 0xE000-0xF8FF. Refer to23* http://www.google.com.au/search?&q=unicode+pua&btnK=Search24*25* @enum {string}26* @suppress {lintChecks}27*/28webdriver.Key = {29NULL: '\uE000',30CANCEL: '\uE001', // ^break31HELP: '\uE002',32BACK_SPACE: '\uE003',33TAB: '\uE004',34CLEAR: '\uE005',35RETURN: '\uE006',36ENTER: '\uE007',37SHIFT: '\uE008',38CONTROL: '\uE009',39ALT: '\uE00A',40PAUSE: '\uE00B',41ESCAPE: '\uE00C',42SPACE: '\uE00D',43PAGE_UP: '\uE00E',44PAGE_DOWN: '\uE00F',45END: '\uE010',46HOME: '\uE011',47ARROW_LEFT: '\uE012',48LEFT: '\uE012',49ARROW_UP: '\uE013',50UP: '\uE013',51ARROW_RIGHT: '\uE014',52RIGHT: '\uE014',53ARROW_DOWN: '\uE015',54DOWN: '\uE015',55INSERT: '\uE016',56DELETE: '\uE017',57SEMICOLON: '\uE018',58EQUALS: '\uE019',5960NUMPAD0: '\uE01A', // number pad keys61NUMPAD1: '\uE01B',62NUMPAD2: '\uE01C',63NUMPAD3: '\uE01D',64NUMPAD4: '\uE01E',65NUMPAD5: '\uE01F',66NUMPAD6: '\uE020',67NUMPAD7: '\uE021',68NUMPAD8: '\uE022',69NUMPAD9: '\uE023',70MULTIPLY: '\uE024',71ADD: '\uE025',72SEPARATOR: '\uE026',73SUBTRACT: '\uE027',74DECIMAL: '\uE028',75DIVIDE: '\uE029',7677F1: '\uE031', // function keys78F2: '\uE032',79F3: '\uE033',80F4: '\uE034',81F5: '\uE035',82F6: '\uE036',83F7: '\uE037',84F8: '\uE038',85F9: '\uE039',86F10: '\uE03A',87F11: '\uE03B',88F12: '\uE03C',8990COMMAND: '\uE03D', // Apple command key91META: '\uE03D' // alias for Windows key92};939495