Selenium Java - Actions Class
Which of the following is the correct syntax to press and hold the SHIFT key using Selenium Actions in Java?
keyDown, not keyUp or others.actions.keyDown(Keys.SHIFT).perform(); correctly presses and holds SHIFT key.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions