blob: 67e3f394347f04582fcb830bc8a8a34ec1551ca5 [file] [log] [blame]
Tests that geolocation emulation with latitude and longitude works as expected.
Running: testGeolocationUnavailable
Position unavailable
Running: testOverridenGeolocation
Latitude: 50 Longitude: 100
Running: testInvalidParam
error: Protocol Error: Invalid type of argument 'latitude' for method 'Emulation.setGeolocationOverride' call. It must be 'number' but it is 'boolean'.
Running: testInvalidGeolocation
Latitude: 50 Longitude: 100
Running: testNoOverride
Override was cleared correctly.