getNetworkConnection
Get informations about the current network connection (Data/WIFI/Airplane). The actual
server value will be a number (see getNetworkConnection.js
example). However WebdriverIO
additional properties to the response object to allow easier assertions (see
getNetworkConnectionEasier.js
example).
Usage
1 | browser.getNetworkConnection(); |
Example
1 | it('should get network connection of Android device', function () { |