cli: verfiy that a phone has a internet connection before a test (#3152)
This commit is contained in:
parent
83e3281f4f
commit
6d37a98fbd
|
|
@ -687,6 +687,13 @@ module.exports.parseCommandLine = function parseCommandLine() {
|
|||
describe:
|
||||
'How long time to wait (in seconds) if the androidBatteryTemperatureWaitTimeInSeconds is not met before the next try'
|
||||
})
|
||||
.option('browsertime.androidVerifyNetwork', {
|
||||
alias: 'androidVerifyNetwork',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
describe:
|
||||
'Before a test start, verify that the device has a Internet connection by pinging 8.8.8.8 (or a configurable domain with --androidPingAddress)'
|
||||
})
|
||||
.option('browsertime.chrome.android.deviceSerial', {
|
||||
alias: 'chrome.android.deviceSerial',
|
||||
describe:
|
||||
|
|
|
|||
Loading…
Reference in New Issue