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
1,088 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 12, 2018 in Selenium by nsv999
• 5,520 points
4,268 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,040 points
51,981 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,520 points
5,609 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,100 points
6,196 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,890 points
3,844 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 2, 2020 in Selenium by Sri
• 3,100 points
4,745 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 13, 2019 in Selenium by Vaishnavi
• 1,180 points
18,229 views