Repository: robotframework/SeleniumLibrary

Issue:
Add ESC to Click Element modifier alias
The [Click Element](http://robotframework.org/SeleniumLibrary/SeleniumLibrary.html#Click%20Element) modifier arguments supports using `CTRL` for alias to `CONTROL`. It would be good to add support for `ESC` as alias for `ESCAPE`

Discussion:

Patch:
diff --git a/src/SeleniumLibrary/keywords/element.py b/src/SeleniumLibrary/keywords/element.py
index 11617ecd..f6bcd04e 100644
--- a/src/SeleniumLibrary/keywords/element.py
+++ b/src/SeleniumLibrary/keywords/element.py
@@ -1049,8 +1049,7 @@ return !element.dispatchEvent(evt);
         keys = []
         for item in modifiers:
             item = item.strip()
-            if item == 'CTRL':
-                item = 'CONTROL'
+            item = self._parse_aliases(item)
             if hasattr(Keys, item):
                 keys.append(getattr(Keys, item))
             else:


Test patch:
diff --git a/utest/test/keywords/test_click_modifier.py b/utest/test/keywords/test_click_modifier.py
index 48f39000..197a1156 100644
--- a/utest/test/keywords/test_click_modifier.py
+++ b/utest/test/keywords/test_click_modifier.py
@@ -20,6 +20,10 @@ class ParsingModifierKeys(unittest.TestCase):
     def test_parsing_one_mofier(self):
         parsed = self.element.parse_modifier('CTRL')
         self.assertEqual(parsed, [Keys.CONTROL])
+        parsed = self.element.parse_modifier('esc')
+        self.assertEqual(parsed, [Keys.ESCAPE])
+        parsed = self.element.parse_modifier('ESCAPE')
+        self.assertEqual(parsed, [Keys.ESCAPE])
         parsed = self.element.parse_modifier('control')
         self.assertEqual(parsed, [Keys.CONTROL])
         parsed = self.element.parse_modifier('alt')