How do I provide a wait time in Selenium for loading the page?

Asked by Last Modified  

Follow 2
Answer

Please enter your answer

Automation Testing, Selenium, Protractor, JMeter, Api Automation, Database Testing, SQL, Testing

Thanks for reaching me. i think, its not good style of coding to simply put wait timing loading the page. For example, you want to redirect the page1 Solution 1 1. Use Web Driver wait and set some time of interval and conditions for elements over page1 2. Redirect to the page1 2. Identify and...
read more
Thanks for reaching me. i think, its not good style of coding to simply put wait timing loading the page. For example, you want to redirect the page1 Solution 1 1. Use Web Driver wait and set some time of interval and conditions for elements over page1 2. Redirect to the page1 2. Identify and verify some elements over loading the page1 Solution 2 Use Java Script Executor 1. Store the result of readystate of document. 2. Verify if it returns complete which says page is loaded successfully read less
Comments

Selenium Trainer

webdriverwait or use while loop till page load
Comments

Related Questions

I am looking for online Selenium with Robot framework in Python programming.
Hi, I am 8.5 yrs in it industry in automation.i will give all kind of practical experience. With regards Shalini
Swapnil
0 0
6
Which language is demand now for Selenium: Python or Java?
Most of the companies are using JAVA compared to python for Selenium to automate web applications.
Pradeep
0 0
6
I have 5 year of experience in android application development but never got much to work on it. As i have a good knowledge on core java , want to switch for automation testing and want to learn selenium tool. Will it be possible to switch and show my experience in testing for 5 yrs to crack testing interview?
Hi Ekta, You can use your existing experience in software testing, i would tell you, How you could use existing experience in testing. you should start your training on Selenium tools. as you know software...
Ekta
Can I learn selenium without knowladge programing language
The mentor will guide you the java basics wrt selenium automation. You can able to learn. Gayatri
Ch

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Code to launch Chrome browser using Appium on Andriod
DesiredCapabilities capabilities = new DesiredCapabilities();capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "Android");capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION,...

What is Selenium?
In simple words, Selenium automates browsers. It is a robust set of tools that supports rapid development of test automation for web-based applications. Cool Features: Works on every system,...

Introduction of Selenium
Selenium is one of the most popular open-source automated testing Tools available today. Selenium automates web applications for testing purposes, but is certainly not limited to just that.Introducing...
N

doWhile example in Java
public class doWhilePracticleEx { public void test() { } public static void main(String args) { String q1 = "Who is PM of India?"; String a1 = "Sonia Gandhi"; String a2 = "Rahul Gandhi"; String a3...
S

Sarthak C.

0 0
0

Selenium waits
In Selenium web driver, the biggest challenge is to synchronize your script with the Web application under test. To make this synchronization work, we have concept of waits. Although we can use Thread.sleep()...

Recommended Articles

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for Selenium Training?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you