Selenium Keys¶
With Splinter’s type() method, you can use Selenium’s Keys implementation.
from selenium.webdriver.common.keys import Keys
from splinter import Browser
browser = Browser()
browser.visit("https://duckduckgo.com/")
browser.type("q", "selenium.webdriver.common.keys")
browser.type("q", Keys.ENTER)
The full list of all supported keys can be found at the official Selenium documentation: selenium.webdriver.common.keys