TabCrashException renamed to DevtoolsTargetCrashException.
BUG=chromium:423954
TEST=enterprise_RemoraRequisition
Change-Id: Ie7a3e66e046e3cb7b1ec05a7429e2807d7e3b520
Reviewed-on: https://chromium-review.googlesource.com/232811
Commit-Queue: Achuith Bhandarkar <achuith@chromium.org>
Tested-by: Achuith Bhandarkar <achuith@chromium.org>
Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
Reviewed-by: Ned Nguyen <nednguyen@google.com>
diff --git a/client/common_lib/cros/enrollment.py b/client/common_lib/cros/enrollment.py
index 85452d9..dbdad22 100644
--- a/client/common_lib/cros/enrollment.py
+++ b/client/common_lib/cros/enrollment.py
@@ -28,7 +28,7 @@
# This will restart the browser.
_ExecuteOobeCmd(browser, 'Oobe.remoraRequisitionForTesting();')
except (exceptions.BrowserConnectionGoneException,
- exceptions.TabCrashException):
+ exceptions.DevtoolsTargetCrashException):
pass
utils.poll_for_condition(lambda: pid != _cri.GetChromePid(), timeout=60)
utils.poll_for_condition(lambda: browser.oobe_exists, timeout=30)