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 … Continue reading Why syntax is “driver.manage().window().maximize();”?