Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Code cleanup - rework proxy cookie handling in WebDriverType #286

Closed
mkrzyzanowski opened this issue Sep 21, 2018 · 2 comments
Closed

Code cleanup - rework proxy cookie handling in WebDriverType #286

mkrzyzanowski opened this issue Sep 21, 2018 · 2 comments
Assignees
Labels
feature migration notes Contains migration notes
Milestone

Comments

@mkrzyzanowski
Copy link
Contributor

At the moment inside the WebDriverType we are adding a proxy cookie, a mechanism we have introduced to omit the firewall by adding a special cookie. It's a bit messy, done in two different places and not really configurable.

A reworked version should be utilising the modifier mechanism and provide a way to include multiple cookies from the configuration.

@mkrzyzanowski mkrzyzanowski self-assigned this Sep 21, 2018
@mkrzyzanowski
Copy link
Contributor Author

mkrzyzanowski commented Sep 24, 2018

Changelog:

  • following properties removed:
    • webdriver.secure.proxy.cookie
    • webdriver.secure.proxy.cookie_name
    • webdriver.secure.proxy.cookie_value
    • webdriver.secure.proxy.cookie_domain
    • base.url
  • with the above, the old mechanism of adding a proxy cookie is removed
  • new mechanism for automated cookie loading has been introduced - loading a list of predefined cookies from a cookies.yaml file
    • the auto-loading does not fire when the file is not present or when the cookies.loadAutomatically is set to false

@mkrzyzanowski
Copy link
Contributor Author

Released in 1.6.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature migration notes Contains migration notes
Projects
None yet
Development

No branches or pull requests

1 participant