But what if you simply want to execute arbitrary javascript? Executing sync javascript in Protractor is pretty straightforward: browser.executeScript('1+1').
確定! 回上一頁