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
205 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,160 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,090 points
1,601 views
0 votes
1 answer
0 votes
1 answer

How do I resolve the ElementNotInteractableException in Selenium WebDriver?

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

answered Aug 21 in Selenium by Abha
• 24,440 points
174 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,090 points
762 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
1,001 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
713 views
0 votes
1 answer
+1 vote
1 answer