cy.visit() local file appending query params #27875
Unanswered
ShDDaniel
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I'd like to know if there is a way to do this?
Currently, this code
cy.visit('index.html', { qs: { some: 'param' } })
results into timeout and failure.
Running
cy.visit('index.html')
in headed mode, page url looks like this: http://localhost:45147/index.html, I'd like to get http://localhost:45147/index.html?some=param.Beta Was this translation helpful? Give feedback.
All reactions