Selenium-IDE: How to simulate non-printable keys (ENTER, ESC, Backspace)?
问题 What is the exact HTML code to simulate ENTER, ESC, BACKSPACE and DOWN in Selenium IDE 1.3.0? typeKeys didn't work nor did this: <tr> <td>keyDown</td> <td>id=zc_0_4_3-real</td> <td>10</td> </tr> <tr> <td>keyUp</td> <td>id=zc_0_4_3-real</td> <td>10</td> </tr> <tr> <td>keyPress</td> <td>id=zc_0_4_3-real</td> <td>10</td> </tr> 回答1: For example to submit a form by pressing enter, the only one I can figure out is: Command: keyPressAndWait Target: id=q [depends on your form of course] Value: \\13