How I press key when I am on the page?. E.g.: I need to press "ESC" key or some key combination. In documentation there is description how do this when you are in input field - it works fine. But if I want to press the key button without using input field I am not successful (In feature file: I have tried for example this, but it did not work: driver.input(Key.ENTER) ).
Thank you.
Aucun commentaire:
Enregistrer un commentaire