The simplest way is that we can first try setting up browser-related capabilities in our desired capabilities that will generate the session according to it. Afterward, we have to fetch the UI elements, which can be done in two ways:
- The first way is we run the Appium inspector in which we have to take the screenshot of the application for each page for the new UI.
- The second way is to open the application URL on our laptop/machine, and change the UI from web to mobile via navigating through inspect element → Toggle Device Toolbar and choose the device according to the platform(iOS/Android) in the Response area.
The other approach is cloud mobile browser testing. Emulation leads to the availability of a number of devices having properties of real physical mobile devices. Their availability on the cloud makes their access efficient.