How to press CTRL+A in a webpage using selenium?

0 votes
How to press a particular set of shortcut keys in selenium? I want to press CTRL+A.

Can someone help?
Jan 11 in Selenium by Rishab
• 1,460 points
62 views

1 answer to this question.

0 votes

You can try using the following command:-

driver.findElement(By.linkText("text")).sendKeys(Keys.CONTROL+"A");
answered Jan 11 by Ravi

Related Questions In Selenium

0 votes
2 answers

How to scroll down a webpage in selenium using Java?

This works... JavascriptExecutor jse = (JavascriptExecutor)driver; j ...READ MORE

answered Apr 3 in Selenium by anonymous
3,138 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,090 points
592 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
901 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
578 views
0 votes
5 answers
+1 vote
1 answer

How to press enter using selenium in Java?

Hey @jino, good that you are finding ...READ MORE

answered Dec 21, 2018 in Selenium by Priyaj
• 56,520 points
68 views