Open GoogleCodeExporter opened 8 years ago
You need to open the page before setting the cookie (It seems to be a
requirement with the phantomJS driver):
1. Set objWebDriver = New SeleniumWrapper.WebDriver
2. objWebDriver.Start "phantomJS", "http://amazon.co.uk"
3. objWebDriver.Open "/"
4. objWebDriver.createCookie "testCookie=yes", "max_age=60"
Original comment by florentbr
on 22 Oct 2014 at 7:43
Original issue reported on code.google.com by
vi...@trulymadlydeeply.biz
on 16 Oct 2014 at 5:04