What is asynchronous script? Why selenium use setScriptTimeout() command and how it help us?

+2 votes
What is asynchronous script? Why selenium use setScriptTimeout() command and how it help us?

If anyone have example for that it will be great. I am very new to these two concept.
Feb 2 in Selenium by Swapnil
• 140 points
161 views

1 answer to this question.

0 votes

Asynchronous scripts are used for rendering the webpage rapidly. It loads the external scripts asynchronously, parallelly with other elements on the webpage. They allow the user to communicate with the web page as the script gets downloaded in the background without forcing the user to wait until the script load gets complete.

Refer to this thread https://www.edureka.co/community/51050/what-is-setscripttimeout-command-in-selenium-webdriver

answered Feb 3 by Sirajul
• 52,850 points

Related Questions In Selenium

0 votes
1 answer

What is TestNG and why it is used in selenium?

Hello @User, Talking about TestNG, it is an ...READ MORE

answered Dec 24, 2018 in Selenium by Shuvodip
234 views
0 votes
1 answer

What is Robot Class in selenium webdriver and why it is used?

Hello Akanksha, Robot Class is used for those ...READ MORE

answered May 8, 2019 in Selenium by Pratibha
• 3,690 points
407 views
0 votes
1 answer

What is a Modular Framework and why it is useful in Selenium webdriver?

Hi Junaid, as the name suggests, Modular ...READ MORE

answered May 12, 2019 in Selenium by Abha
• 27,920 points
2,558 views
0 votes
1 answer

What is Firebug and how it is useful in Selenium Automation testing?

Hello Amit, FireBug is a plugin which comes ...READ MORE

answered May 28, 2019 in Selenium by Anvi
• 14,050 points
173 views
0 votes
1 answer

Impilicit wait vs Explicit wait vs Fluent wait

Implicit wait: Your telling the WebDriver the ...READ MORE

answered Apr 13, 2018 in Selenium by king_kenny
• 3,710 points
1,426 views
+1 vote
3 answers

Need to wait until page is completely loaded - Selenium WebDriver

You can try something like -  new WebDriverWait(firefoxDriver, ...READ MORE

answered Dec 20, 2019 in Selenium by Robin
14,232 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,510 points
2,572 views
0 votes
1 answer
0 votes
1 answer

What is Behavior Driven Development (BDD) and what are its features?

Behavior-driven development (BDD) is an Agile software development methodology within which an application is ...READ MORE

answered Nov 27, 2019 in Selenium by Sirajul
• 52,850 points
100 views