Qual è il miglior strumento di automazione web per il browser mobile?
You can go with Appium,
iOS(Safari)
Safari browser is accessed by setup the “browserName” desired capability as “Safari”, and keep “app” capability empty.
Below is the example of capability:
- DesiredCapabilities cap = new DesiredCapabilities();
- cap.setCapability(MobileCapabilityType.PLATFORM_NAME, "iOS");
- cap.setCapability(MobileCapabilityType.PLATFORM_VERSION, "11.0");
- cap.setCapability(MobileCapabilityType.BROWSER_NAME, "Safari");
- cap.setCapability(MobileCapabilityType.DEVICE_NAME, "iPhone 7");
Android(Chrome)
You can add below capability for Android Web Browser (Chrome) Automation:
- DesiredCapabilities cap = new DesiredCapabilities(); cap.setCapability(MobileCapabilityType.PLATFORM_NAME, "Android"); cap.setCapability(MobileCapabilityType.PLATFORM_VERSION, "4.4"); cap.setCapability(MobileCapabilityType.DEVICE_NAME, "Android Emulator"); cap.setCapability(MobileCapabilityType.BROWSER_NAME, "Chrome");
You can use “Browser” as browserName capability to Automate in built browser.
Cheers!!!