[FIX] tests: remove chrome sandboxing
It appears that chrome headless with sandboxing is failing when running containerized because it tries to use Linux namespaces. With this commit, the no-sanbox optional arg is used to avoid this issue. Closes #26456 Closes #28053
This commit is contained in:
@@ -423,7 +423,8 @@ class ChromeBrowser():
|
||||
'--user-data-dir': self.user_data_dir,
|
||||
'--disable-translate': '',
|
||||
'--window-size': '1366x768',
|
||||
'--remote-debugging-port': str(self.devtools_port)
|
||||
'--remote-debugging-port': str(self.devtools_port),
|
||||
'--no-sandbox': '',
|
||||
}
|
||||
cmd = [self.executable]
|
||||
cmd += ['%s=%s' % (k, v) if v else k for k, v in switches.items()]
|
||||
|
||||
Reference in New Issue
Block a user