I am trying to use a method as per the Protractor docs. but when I do the API call I get ReferenceError: webdriver is not defined
. This issue is the only other occurence of this that I could find, and it's (rather odd) solution does not work in my case.
My code looks like:
'Cookie': webdriver.WebDriver.Options.prototype.getCookie('CookieName')
I'm running protractor version 1.4.0
.