How to press 3 keys at once in Selenium?
I am new to Selenium.
I have seen various ways of performing click operations on an element. But, what I really need is to press 3 keys at once in a row. Is it possible? For example - A, B, C, D are 4 different buttons on the page. Once the user press each button in succession, it will do the same thing.
Could you please tell me how to perform such operation with the help of Selenium
If you want to use selenium for this you need to use a sequence of actions(I know these are called keys but they mean one of them). First you need to find out all the elements with class name "mykey" (assuming you don't know the exact element name before hand). List
//This sequence ensures all the buttons are pressed at once by using a loop. for (int I = 0; I < keys.
Related Answers
How can we use the Selenium tool with HeadSpin?
Selenium is a tool that is used to automate functional testing. There are two types...
What are 5 Uses of Selenium?
Selenium is a web-automation tool that helps you to test web applications....
How can we use the Selenium tool with HeadSpin?
Selenium is a cross-browser testing automation framework w...