@@ -91,9 +91,17 @@ def get_remote_driver(browser_name, headless, servername, port, proxy_string):
91
91
}
92
92
}
93
93
chrome_options .add_experimental_option ("prefs" , prefs )
94
+ chrome_options .add_argument ("--test-type" )
95
+ chrome_options .add_argument ("--no-first-run" )
96
+ chrome_options .add_argument ("--ignore-certificate-errors" )
94
97
chrome_options .add_argument ("--allow-file-access-from-files" )
98
+ chrome_options .add_argument ("--allow-insecure-localhost" )
95
99
chrome_options .add_argument ("--allow-running-insecure-content" )
96
100
chrome_options .add_argument ("--disable-infobars" )
101
+ chrome_options .add_argument ("--disable-save-password-bubble" )
102
+ chrome_options .add_argument ("--disable-single-click-autofill" )
103
+ chrome_options .add_argument ("--disable-translate" )
104
+ chrome_options .add_argument ("--disable-web-security" )
97
105
if headless :
98
106
chrome_options .add_argument ("--headless" )
99
107
if proxy_string :
@@ -217,9 +225,17 @@ def get_local_driver(browser_name, headless, proxy_string):
217
225
}
218
226
}
219
227
chrome_options .add_experimental_option ("prefs" , prefs )
228
+ chrome_options .add_argument ("--test-type" )
229
+ chrome_options .add_argument ("--no-first-run" )
230
+ chrome_options .add_argument ("--ignore-certificate-errors" )
220
231
chrome_options .add_argument ("--allow-file-access-from-files" )
232
+ chrome_options .add_argument ("--allow-insecure-localhost" )
221
233
chrome_options .add_argument ("--allow-running-insecure-content" )
222
234
chrome_options .add_argument ("--disable-infobars" )
235
+ chrome_options .add_argument ("--disable-save-password-bubble" )
236
+ chrome_options .add_argument ("--disable-single-click-autofill" )
237
+ chrome_options .add_argument ("--disable-translate" )
238
+ chrome_options .add_argument ("--disable-web-security" )
223
239
if headless :
224
240
chrome_options .add_argument ("--headless" )
225
241
if proxy_string :
0 commit comments