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 in Selenium by Surya
• 160 points
124 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 by Vaishnavi
• 1,120 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,050 points
1,243 views
0 votes
1 answer
+2 votes
2 answers

How can I press ENTER key with the execute_script in selenium python?

The below code containing Keys.ENTER might just ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,050 points
5,142 views
0 votes
1 answer

How to scroll the Page up or down in Selenium WebDriver? (using java)

Its pretty simple. Check out the below ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,050 points
5,846 views
0 votes
1 answer

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,050 points
281 views
0 votes
1 answer
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,130 points
642 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
270 views
0 votes
1 answer
+1 vote
1 answer