09 Oct 2020 03:13 PM - last edited on 10 Mar 2023 03:17 PM by Ana_Kuzmenchuk
Is there a way to bypass the Chrome authentication pop-up in a Synthetic browser monitor? For lack of a better way of saying this...can this be "hacked" or bypassed with JavaScript as another synthetic step prior to accessing the application? I've seen references for using WebDriver in Selenium; I just didn't know if this was possible, and if so, how, in the new DT Synthetic this would work. Chrome Authentication PopUp.pptxDynamics 365 Performance.pptx
Solved! Go to Solution.
09 Oct 2020 03:19 PM
You can add the credentials for the pop up into the Authentication section of the Navigate event. There's more information on this here.
Best wishes, Hannah
09 Oct 2020 04:14 PM
I'm aware of that however it doesn't work.
09 Oct 2020 05:06 PM
I thought about what you suggested and tested it. It does work. Thank you.
12 Oct 2020 11:45 AM
That's excellent news. Thanks for the update.
05 Sep 2022 09:49 AM
Hi Folks,
I have the same issue at one of my clinet's company sharepoint site. I have already registered a user in the vault and set the html authentication in the first navigate action. Palyback is works fine but the scheduled runs are failed and I do not know why. I guess the sts login iframe pop up is the issue, but I do not have idea how to solve it.
Here is the successful playback:
Here is the scheduled run results, the error message always the same:
Thanks in advance for your help.
Br, Mizső
05 Sep 2022 09:58 AM
Please can you try this property? You can add it to the script (on recorded clickpath page click 'Script button' to reveal script):
, "experimentalProperties": [{ "name": "iframeHttpAuthentication", "value": "true" }] }
06 Sep 2022 08:08 AM
Hi HannahM,
Thanks very much I'm going to try it.
Best regards, Mizső
07 Sep 2022 06:41 PM
Hi HannahM,
This property did not help. I had to try somthing elese, becasue it was very suspicious which is related with login.microsoftonline.com:
In case of use the scheduled engine it alwasy get 401 see below, we have tried to check the site outside the DT in an incognito window, this suspicious request had 200. My colleasue has an idea, maybe there is a protection at MS against robots. So we have added a user agent configuration in the device emulation settings. New user agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Now the scheduled runs availabilty is 100%. It seems everything is fine and there is not "1701 - The specified target window was not found" error, however the login.microsoftonline.com request is still 401. 🙂
Before user agent change:
After user agent change:
Thank you very much for your help.
Br, Mizső
08 Sep 2022 09:05 AM
That's great, thanks for the update.