Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

allow to set cookies for capturing #966

Open
masi opened this issue Mar 29, 2019 · 0 comments
Open

allow to set cookies for capturing #966

masi opened this issue Mar 29, 2019 · 0 comments

Comments

@masi
Copy link

masi commented Mar 29, 2019

The WD protocol allows cookie manipulation:
https://www.w3.org/TR/webdriver1/#cookies

Make it possible to mainpulate cookies when calling capture().

Either as third parameter to the capture callback as (actions, elements, cookies):

  • cookies.add(name)
  • cookies.get(name)
  • cookies.getAll()
  • cookies.delete(name)

Or patching the functions into the actions:

  • actions.addCookie(name)
  • actions.getCcookie(name)
  • actions.getAllCookies()
  • actions.deleteCookie(name)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant