1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

fix xpath to get firefox uuid (#11323)

This commit is contained in:
sooyoung 2021-06-16 21:24:36 +09:00 committed by GitHub
parent 7c92caa7f7
commit ca7259246c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,9 +75,7 @@ class FirefoxDriver {
await this._driver.get('about:debugging#addons'); await this._driver.get('about:debugging#addons');
return await this._driver return await this._driver
.wait( .wait(
until.elementLocated( until.elementLocated(By.xpath("//dl/div[contains(., 'UUID')]/dd")),
By.xpath("//dl/div[contains(., 'Internal UUID')]/dd"),
),
1000, 1000,
) )
.getText(); .getText();