I am automating one application using Robot Framework using Python. In a certain situation I need to press Enter without selecting any button or element of the page once the page is loaded.
I have tried with the below example (using Press Key
), but it didn't work as I don't want to select any specific button or element of the page before press Enter on the page.
Examples:
Press Key text_field q
Press Key login_button \13 # ASCII code for the Enter key
The below keyword is not recognized by the IDE, most probably because of version:
Press Key Native
Is there a solution to get rid of this problem?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…