webdriverIO v6 : browser.getCurrentTabId() and browser.windowHandles() is not a function in version 6. What is the replacement?

后端 未结 0 1040
再見小時候
再見小時候 2020-12-03 04:11

switchToPopUpWindow(n = -1) { this.mainWindow = browser.getCurrentTabId()

let handles = browser.windowHandles()
n == -1 && (n = handles.value.length -         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题