diff options
Diffstat (limited to 'chrome/test/pyautolib')
-rw-r--r-- | chrome/test/pyautolib/pyauto.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py index 7b20154..3fed9f71 100644 --- a/chrome/test/pyautolib/pyauto.py +++ b/chrome/test/pyautolib/pyauto.py @@ -1670,12 +1670,8 @@ class Main(object): suite_args = [sys.argv[0]] chrome_flags = self._options.chrome_flags - # Enable crash reporter by default on posix. - # On windows, the choice to enable/disable crash reporting is made when - # downloading the installer. - # TODO(nirnimesh): Figure out a way to control this from here on Win too. - if PyUITest.IsPosix(): - chrome_flags += ' --enable-crash-reporter' + # Set CHROME_HEADLESS. It enables crash reporter on posix. + os.putenv('CHROME_HEADLESS', '1') # --dom-automation added in PyUITestBase::PyUITestBase() suite_args.append('--extra-chrome-flags=%s' % chrome_flags) |