How to set network condition in Emulator using Appium? – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> How to set network condition in Emulator ...

How to set network condition in Emulator using Appium?


capability.setCapability(“networkSpeed”, “gprs”);
This capability will set the network condition which will be required for your test. For Ex. if you want to test your app in a cellular data condition you can mock it in the emulator with the help of given capability. Note: This is not compatible for Real devices.

Leave a Reply

Your email address will not be published. Required fields are marked *