RE: Click on a button is taking a long time

Hi, I am working on Selenium Webdriver for my application and there is a button which I need to click in it. When I use xpath and find the element and issue click on it, it takes more time. I tried keeping explicit wait with conditions but it is not working and moreover, there is no Thread.sleep(secs) before it.

How it can be handled?

Surya Default Asked on November 7, 2015 in Selenium WebDriver.
Add Comment
3 Answers

Hello Surya,

Try using CSS/ID/Class instead of XPath.


Train Answered on November 12, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.