标签: javascript protractor
我想做什么:
this.openNewWindow = function () { browser.driver.executeScript("$(window.open('https://url.com'))"); }
我收到以下错误消息。 window is not defined。
window is not defined