Why syntax is “driver.manage().window().maximize();”?

Hello Folks, In my last post, I explained about some useful methods of WebDriver. I got some comments to explain why do we write syntax as below: driver.manage().window().maximize(); // To maxmize driver.navigate().to(“some url”); // To open url driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);// To set implicit time Actually it’s JAVA concept. It is called as method chaining. We will

Read More

All about WebDriver: Methods And Its Usages

Hello Folks, I am here again with new topics. In this post, we will learn all basic methods of WebDriver and its usage. The main purpose of this post is to make you familiar of methods of WebDriver. We will see in details as well in upcoming posts. 1. How to open a URL in browser?

Read More

Hierarchy of Selenium Classes and Interfaces

Hello Folks, Selenium automates browser and to achieve this, Selenium people have provided many classes and interfaces. During learning selenium, many times we will use up-casting and down-casting concepts of JAVA. Many people know how to perform some operations like opening any desired browser through single method, running java script etc but they are not

Read More

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.