Recording a test with Google Chrome Device Mode
You can use the Google Chrome Device Mode feature to emulate tests of web apps on mobile
devices.
About this task
You can use the Device Mode feature in Chrome Developer Tools to configure Chrome to behave as though it were running on a particular mobile device. Then, when you record a Web UI test, the test is recorded as though it were recorded on that device. Later, when you run the test, the test runs as though it were running on that device.