Taiko/Gauge - The Header Basic Authorization is getting mixed with the form Login #2263
jawaharsan
started this conversation in
Development
Replies: 1 comment
-
|
The HTTP basic auth requires the |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi,
We try to implement Basic Authorization with Base64 encoding method to launch a website. It works fine. But, when we try to login as a user which is a form on the application flow, it is not getting logged in. When we do it manually, there is no issue. Kindly help.
The code is something like this.
goto(url,{headers:{'Authorization':'Basic '}}) => This works well.
On the login page, I need to give the user name (EmailID) and password as below:
await write("EmailID", into(textBox{id:"IDValueEmail"}));
await write("Password", into(textBox{id:"IDValuePassword"}));
await evaluate($(customelocatorSignin), ele => ele.click());
I have two questions:
Any pointer to the above questions would highly be appreciated. Thank you.
Regards,
Santhosh.
Beta Was this translation helpful? Give feedback.
All reactions