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

1 Answer

+2 votes
by Expert (4.6k points)
selected by
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();

by (210 points)
Thanks For information.

Not a Member yet?

Ask to Folks Login

My Account

Your feedback is highly appreciated