How do I increase or decrease the sleep time in clickAndWait command in selenium IDE

0 votes
Command : clickAndWait
Target  : some xpath of the loaction

After executing this command in Selenium IDE, it takes a lot of time to load the data into the page. So in the console of IDE, I could see this particular comment 'Timed out after 30000ms'.

Is it possible to increase or decrease the value 30000ms?

Feb 28, 2019 in Selenium by Surya
• 160 points
2,431 views

1 answer to this question.

0 votes

If you are using Selenium Webdriver, you have to use setTimeout(long milliseconds)

When working on Selenium, you have to use:

<tr>
    <td>setTimeout</td>
    <td>30000</td>
    <td>Wait 30 seconds for the page</td>
</tr>

Also, take a look at waitForPageToLoad(timeout)
<tr>
    <td>click</td>
    <td>Your XPath</td>
    <td></td>
</tr>
<tr>
    <td>waitForPageToLoad</td>
    <td>30000</td>
    <td>Wait 30 seconds</td>
</tr>
answered Feb 28, 2019 by Vaishnavi
• 1,180 points

Related Questions In Selenium

0 votes
1 answer

How do i change the location where my file gets downloaded in Selenium Webdriver and firefox driver?

There are a couple of errors there. ...READ MORE

answered Apr 13, 2018 in Selenium by nsv999
• 5,500 points
6,258 views
0 votes
1 answer
0 votes
3 answers

How do I resolve the ElementNotInteractableException in Selenium WebDriver?

Hi Abish, ElementNotInteractableException occurs when an element is ...READ MORE

answered Aug 21, 2019 in Selenium by Abha
• 28,140 points

edited Aug 4, 2023 by Khan Sarfaraz 106,771 views
0 votes
0 answers
0 votes
2 answers

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,500 points
13,734 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,172 views
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,910 points
7,249 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,887 views
0 votes
1 answer
+1 vote
1 answer

How can Selenium select each div separately that have the same class

Hi Surya, you have already got the ...READ MORE

answered Mar 14, 2019 in Selenium by Vaishnavi
• 1,180 points
25,110 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP