pull/5756/head
bunsenstraat 4 days ago committed by bunsenstraat
parent 68989fbea1
commit b4352e32fe
  1. 2
      apps/remix-ide-e2e/src/commands/switchBrowserTab.ts

@ -11,7 +11,7 @@ class SwitchBrowserTab extends EventEmitter {
browser.windowHandles((result) => {
console.log('switching to window', result)
if (Array.isArray(result.value)) {
browser.switchWindow(result.value[result.value[index] ? index : 0])
browser.switchWindow(result.value[index] || result.value[0])
}
done()
})

Loading…
Cancel
Save