Codebase list splinter / master docs / selenium-keys.rst
master

Tree @master (Download .tar.gz)

selenium-keys.rst @masterview markup · raw · history · blame

Selenium Keys

With Splinter You can use selenium keys implementation.

Here is a simple example:

System Message: INFO/1 (<string>, line 17)

No directive entry for "highlight" in module "docutils.parsers.rst.languages.en". Trying "highlight" as canonical directive name.

System Message: ERROR/3 (<string>, line 17)

Unknown directive type "highlight".

.. highlight:: python

from selenium.webdriver.common.keys import Keys
ElementAPI.type(Keys.RETURN)

Full list of all support keys can be found on official selenium documentation selenium.webdriver.common.keys