3
我试图用一个方法,按照Protractor docs。但是当我做了API调用我得到ReferenceError: webdriver is not defined
。 This issue是这唯一的其他occurence,我能找到,而且它(而奇)解决方案并不在我的情况下工作。为什么不的webdriver我量角器测试用例定义?
我的代码如下所示:
'Cookie': webdriver.WebDriver.Options.prototype.getCookie('CookieName')
我跑量角器version 1.4.0
。
可以链接到api文档?我找不到你在这里提到的功能... –