Guard if you try to run Safari in Docker (#3405)
This commit is contained in:
parent
0b9d79193b
commit
d2292333f0
|
|
@ -112,6 +112,14 @@ function validateInput(argv) {
|
|||
return 'Error: You have a miss match between number of alias for groups and URLs.';
|
||||
}
|
||||
|
||||
if (
|
||||
argv.browsertime.safari &&
|
||||
argv.browsertime.safari.useSimulator &&
|
||||
argv.browsertime.docker
|
||||
) {
|
||||
return 'You cannot use Safari simulator in Docker. You need to run on directly on Mac OS.';
|
||||
}
|
||||
|
||||
if (
|
||||
argv.browsertime.safari &&
|
||||
argv.browsertime.safari.useSimulator &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue