Hey there! any question in your mind? Ask It Now!.

Popular Categories

How to click on an element in selenium web driver?

+2 votes
asked in Software Testing by happyboy (210 points)
i am new in selenium i want to know how to click on element?

1 Answer

+2 votes
answered by seleniumGuru Expert (4,570 points)
selected by happyboy
Best answer

For clicking an element you need to find the element adress in which you want to click. :

there are several methods for finding an element for more details you can go here :


WebDriver driver = FirefoxDriver();

driver.findelement(By.id("ID_of Element")).click();

commented by happyboy (210 points)
Thanks For information.

Related Questions

+1 vote
1 answer 698 views

Not a Member yet?

Ask to Folks Login

My Account
279 Folks are online
0 members and 279 guest online
Your feedback is highly appreciated