Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make plugin able to override values only if they don't exist already #9

Open
NogaMan opened this issue Nov 18, 2019 · 0 comments
Open

Comments

@NogaMan
Copy link

NogaMan commented Nov 18, 2019

Currently there is no way to add query params to url only when a parameter with the same name already exist.
My case:
In my project "noredirect" param is always added to the url, but for some testcases I need to test redirects, so when I call this.browser.url() with an url containing &noredirect=0, it gets concatenated and I get ...&noredirect=0&noredirect=1, which breaks the logic

@NogaMan NogaMan changed the title Make plugin ale to override values only if they don't exist already Make plugin able to override values only if they don't exist already Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant