L
"
--disable-search-geolocation-disclosure
" - вроде он, но при запуске теста, локация бывает определяется...Size: a a a
L
--disable-search-geolocation-disclosure
" - вроде он, но при запуске теста, локация бывает определяется...YM
YM
YM
YM
L
L
YM
B
--disable-search-geolocation-disclosure
" - вроде он, но при запуске теста, локация бывает определяется...L
ChromeOptions options = new ChromeOptions();
options.addArguments("--disable-notifications");
options.addArguments("start-maximized");
options.addArguments("--disable-search-geolocation-disclosure");
System.
setProperty(name, path);
B
prefs: {
'profile.default_content_settings.geolocation': 2,
'profile.managed_default_content_settings.geolocation': 2,
},
L
prefs: {
'profile.default_content_settings.geolocation': 2,
'profile.managed_default_content_settings.geolocation': 2,
},
B
L
B
K
ŚW
K
EB
String expectedJSON = "{\"data\": [{\"id\": \"id-one\", \"foo\": \"bar\"}, {\"id\": \"id-two\", \"bash\": {\"one\": \"test string\", \"two\": 123, \"three\": [1, 2, 3]}}, {\"id\": \"id-three\", \"data-strings\": [\"foo\", \"bar\", \"bash\"]}]}";
JSONAssert.assertEquals(expectedJSON, response.getBody().asString(), false);
AS