Code cleanup - rework proxy cookie handling in WebDriverType
Closed this issue · 2 comments
mkrzyzanowski commented
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 commented
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 tofalse
- the auto-loading does not fire when the file is not present or when the
mkrzyzanowski commented
Released in 1.6.0