diff --git a/apps/remix-ide-e2e/src/commands/selectAccount.ts b/apps/remix-ide-e2e/src/commands/selectAccount.ts index d7447d891c..f27dab98f5 100644 --- a/apps/remix-ide-e2e/src/commands/selectAccount.ts +++ b/apps/remix-ide-e2e/src/commands/selectAccount.ts @@ -5,7 +5,7 @@ class SelectAccount extends EventEmitter { command (this: NightwatchBrowser, account?: string): NightwatchBrowser { if (account) { this.api - .click(`select[data-id="runTabSelectAccount"] [value="${account}"]`) + .click(`*[data-id="runTabSelectAccount"] *[id="txorigin"]`) .perform(() => { this.emit('complete') })