From ca7259246c86dae9a11f538927d97fc2fc8f85ee Mon Sep 17 00:00:00 2001 From: sooyoung Date: Wed, 16 Jun 2021 21:24:36 +0900 Subject: [PATCH] fix xpath to get firefox uuid (#11323) --- test/e2e/webdriver/firefox.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/e2e/webdriver/firefox.js b/test/e2e/webdriver/firefox.js index 6d327305a..d9d105b98 100644 --- a/test/e2e/webdriver/firefox.js +++ b/test/e2e/webdriver/firefox.js @@ -75,9 +75,7 @@ class FirefoxDriver { await this._driver.get('about:debugging#addons'); return await this._driver .wait( - until.elementLocated( - By.xpath("//dl/div[contains(., 'Internal UUID')]/dd"), - ), + until.elementLocated(By.xpath("//dl/div[contains(., 'UUID')]/dd")), 1000, ) .getText();