+91-08122241286 , 9003085882 thecreatingexperts@gmail.com

Resizing and Positioning Window – Selenium Advanced Training in Chennai

The Creating Experts Automation Frameworks Training, Selenium Training in Chennai Resizing and Positioning Window – Selenium Advanced Training in Chennai
Resizing and Positioning Window – Selenium Advanced Training in Chennai

Automation Frameworks Training Selenium Training in Chennai

Resizing and Positioning Window – Selenium Advanced Training in Chennai

Posted By Admin Creating Experts

Browser window resizing and positioning can be done easily using Selenium WebDriver. Consider we have opened multiple browser windows in same machine for parallel execution; it is very useful to view execution on each window, if it is positioned and re-sized for user view at run-time.

 

Window Resize
view sourceprint?
1.driver.manage().window().setSize(new Dimension(100,100));
2.//Note: Dimension should be imported using org.openqa.selenium.Dimension

3.Window Position

view sourceprint?
1.driver.manage().window().setPosition(new Point(100,100));
2.//Note: Point should be imported using org.openqa.selenium.Point

 

Selenium WebDriver Window re-sizing & Positioning, WebDriver Window Handle | Selenium Webdriver Window Handling

Tagged

Written by Admin Creating Experts

The Mobile Apps Development company and Creating Experts in Advanced Technologies.

http://www.thecreatingexperts.com

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Register in our Elearning Tool and Get the real time Training from our Experts-Grasso Tool

Register Now

Copy Rights Powered By: Creating Experts 2016.