summaryrefslogtreecommitdiffstats
path: root/chrome/test/pyautolib
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/pyautolib')
-rwxr-xr-xchrome/test/pyautolib/pyauto.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py
index 8f15d5d..58714d9 100755
--- a/chrome/test/pyautolib/pyauto.py
+++ b/chrome/test/pyautolib/pyauto.py
@@ -194,6 +194,12 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
# on ChromeOS).
self.SetUp()
+ # Forcibly trigger all plugins to get registered. crbug.com/94123
+ # Sometimes flash files loaded too quickly after firing browser
+ # ends up getting downloaded, which seems to indicate that the plugin
+ # hasn't been registered yet.
+ self.GetPluginsInfo()
+
# TODO(dtu): Remove this after crosbug.com/4558 is fixed.
if self.IsChromeOS():
self.WaitUntil(lambda: not self.GetNetworkInfo()['offline_mode'])