vendredi 21 août 2020

HTTP Authentication issue in Test Cafe

I am performing automation of one site using TestCafe that has an http authentication, but I have to provide my email first in order land on http auth login page. This is one more layer before http auth login page.

When I login with my email id typically I should be asked to enter username and password in authentication box (http://testcafeurl/http://httpauthurl), but I do not. However, as soon as I remove the testcafe proxy url (http://httpauthurl), webdriver shows the http authentication page!

So the issue is I have to remove the testcafe proxy url to make my http auth page running and I am not sure how to deal with testcafe proxy or bypass it to make my http auth page working perfectly.. Can anyone please suggest how can I deal with testcafe proxy url or what are the settings do I need to set for testcafe proxy?

Thank in advance!!

Aucun commentaire:

Enregistrer un commentaire