dequelabs / axe-webdriverjs

Provides a chainable axe API for Selenium's WebDriverJS and automatically injects into all frames.
Mozilla Public License 2.0
130 stars 46 forks source link

Is it possible to maintain session and cookies of the site using Axe-core? #31

Closed syndy1989 closed 7 years ago

syndy1989 commented 7 years ago

Hi, I wanted to know how to maintain sessions and cookies in a user authenticated site using Axe-core? If Yes, How would i do that ? need to add any actions to the script or Is there any other way to do it? Any advise on this would be helpful. Thanks in advance.

dylanb commented 7 years ago

yes, axe-webdriverjs builds on top of webdriver and it is definitely possible to set request headers in webdriver

http://stackoverflow.com/questions/10340373/how-to-send-cookies-with-selenium-webdriver