Perform the following steps to find locators using an actual device connected to the computer:
- Type chrome://inspect/#devices and ensure that Discover USB devices is checked.
- Type URL in the URL textbox and click Open. The website now opens in the connected device.
- Click Inspect in Chrome on the desktop. A new instance of Chrome Developer tools opens in the desktop.
- We can interact with mobile web elements using DevTools.