1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +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');
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();