Thursday, September 26, 2013

Simulating Keyboard Keys - WebDriver

Simulating Keyboard Keys - WebDriver

Sendkeys can be used to simulate keyboard keys but you can also use Sendkeys to type in a textbox. Simulating Keyboard Keys like simulating the pressing of Enter key or Esc key or simulating the pressing of keys like CTRL + A etc. may be needed many times while working with WebDriver. Below you can find links which may help you to achieve the same:

1. Typing Enter/Return key in Selenium. [Link]
2. moveToElement(element,xoffset,yoffset) not working in selenium WebDriver 2.32.0. [Link]
3. How to simulate Caps Lock keystrokes with Selenium WebDriver? [Link]
4. Press TAB and then ENTER key in Selenium WebDriver with Ruby. [Link]
5. Key press in selenium WebDriver. [Link]
6. Press Enter key in Selenium script. [Link]
7. AdvancedUserInteractions - How to use the Advanced User Interactions API. [Link]
8. Class Actions. [Link]
9. WebDriver Common Keys. [Link]
10. Selenium-IDE: How to simulate non-printable keys (ENTER, ESC, Backspace)? [Link]
11. Advanced User Interactions API. [Link]
12. How do I send keyboard keys combination in selenium WebDriver(java)? [Link]
13. Selenium WebDriver zoom in/out page content. [Link]
14. Sending special characters and key events to WebDriver using SendKeys() method. [Link]