This article describes how to set up the browser resolution to a specific Responsive Breakpoint when running a web automation test. For example, you can run a test on Chrome browser in iPad resolution.
Setting up a Breakpoint
To set up a breakpoint, define a Web Profile under resources and include information for mobileEmulation. An example below:
Finding available Device Names
- In the Chrome browser, right-click and select "Inspect"
- Click on the "Device toolbar" icon
- Click the Device dropdown displayed on the top of the application screen on chrome browser. You will see a list of available and enabled device types.
Defining custom device type
Running the test with a device emulation