# Bypass Chrome authentication pop-up in a Synthetic browser monitor

**URL:** <https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515>\
**Category:** Synthetic Monitoring\
**Tags:** javascript, synthetic-monitoring\
**Created:** [October 9, 2020, 2:13pm UTC](https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515 "2020-10-09T14:13:34Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![bill\_scheuernst](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/bill_scheuernst/32/2211_2.png) [@bill\_scheuernst](https://community.dynatrace.com/u/bill_scheuernst)\
**Post date:** [October 9, 2020, 2:13pm UTC](https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515/1 "2020-10-09T14:13:34Z")

</div>

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.&nbsp;[Chrome Authentication PopUp.pptx](https://answers.dynatrace.com/storage/attachments/26872-chrome-authentication-popup.pptx)Dynamics 365 Performance.pptx  
[chrome-authentication-popup.pptx](https://community.dynatrace.com/uploads/short-url/iBPldDyjxljXdbs90KdrEsihuLs.pptx) (224 KB)

---

<div class="post-metadata">

**Author:** ![hannahmac](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [October 9, 2020, 2:19pm UTC](https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515/2 "2020-10-09T14:19:28Z")

</div>

You can add the credentials for the pop up into the Authentication section of the Navigate event. There’s more information on this [here](https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/browser-monitors/browser-clickpath-events/#anchor-navigate).  
Best wishes, Hannah

---

<div class="post-metadata">

**Author:** ![bill\_scheuernst](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/bill_scheuernst/32/2211_2.png) [@bill\_scheuernst](https://community.dynatrace.com/u/bill_scheuernst)\
**Post date:** [October 9, 2020, 3:14pm UTC](https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515/3 "2020-10-09T15:14:43Z")

</div>

I’m aware of that however it doesn’t work.

---

<div class="post-metadata">

**Author:** ![bill\_scheuernst](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/bill_scheuernst/32/2211_2.png) [@bill\_scheuernst](https://community.dynatrace.com/u/bill_scheuernst)\
**Post date:** [October 9, 2020, 4:06pm UTC](https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515/4 "2020-10-09T16:06:07Z")

</div>

I thought about what you suggested and tested it. It does work. Thank you.

---

<div class="post-metadata">

**Author:** ![hannahmac](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [October 12, 2020, 10:45am UTC](https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515/5 "2020-10-12T10:45:18Z")

</div>

That’s excellent news. Thanks for the update.

---

<div class="post-metadata">

**Author:** ![mizso74](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [September 5, 2022, 8:49am UTC](https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515/6 "2022-09-05T08:49:13Z")

</div>

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:

 ![Mizs_0-1662367615455.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/d/5dff75735df951a98634a66abc5240effe6c4dd6.png)

Here is the scheduled run results, the error message always the same:

 ![Mizs_1-1662367702707.png](https://global.discourse-cdn.com/dynatrace/original/2X/f/f633521a0c10791c2833c861ff817311ffd78d5b.png)

Thanks in advance for your help.

Br, Mizső

---

<div class="post-metadata">

**Author:** ![hannahmac](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [September 5, 2022, 8:58am UTC](https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515/7 "2022-09-05T08:58:39Z")

</div>

Edit: this experimental property is no longer available. Removing comment to prevent confusion.

---

<div class="post-metadata">

**Author:** ![mizso74](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [September 6, 2022, 7:08am UTC](https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515/8 "2022-09-06T07:08:37Z")

</div>

Hi HannahM,

Thanks very much I’m going to try it.

Best regards, Mizső

---

<div class="post-metadata">

**Author:** ![mizso74](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [September 7, 2022, 5:41pm UTC](https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515/9 "2022-09-07T17:41:20Z")

</div>

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](http://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](http://login.microsoftonline.com) request is still 401. 🙂

Before user agent change:

 ![Mizs_0-1662571227198.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/1/d1b3224e577e80012bfd18f103986b6778994874.png)

After user agent change:

 ![Mizs_1-1662572291229.png](https://global.discourse-cdn.com/dynatrace/original/2X/9/99e11488776484570c7576cdfe8472d7a574ac00.png)

Thank you very much for your help.

Br, Mizső

---

<div class="post-metadata">

**Author:** ![hannahmac](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [September 8, 2022, 8:05am UTC](https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515/10 "2022-09-08T08:05:35Z")

</div>

That’s great, thanks for the update.

---

<div class="post-metadata">

**Author:** ![abhijeet-allu](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@abhijeet-allu](https://community.dynatrace.com/u/abhijeet-allu)\
**Post date:** [June 25, 2025, 11:38pm UTC](https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515/11 "2025-06-25T23:38:55Z")

</div>

Hello Hannah,

Is there a workaround to override the user-agent used by the browser monitor?

we are running into an issue while logging in to the application (which we have not control) as it is blocking the user-agent used by the browser monitor. The scriptConfig has a&nbsp;userAgent field, &nbsp;but I see the docs mention the RuxitSynthetic/1.0 is appended regardless

---

<div class="post-metadata">

**Author:** ![hannahmac](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [June 26, 2025, 7:40am UTC](https://community.dynatrace.com/t/bypass-chrome-authentication-pop-up-in-a-synthetic-browser-monitor/20515/12 "2025-06-26T07:40:17Z")

</div>

Hi&nbsp;[@abhijeet-allu](https://community.dynatrace.com/user/75954)&nbsp;, no there is no way to prevent RuxitSynthetic/1.0 from being appended to the User Agent string.

I recommend that you vote for this Production Idea,&nbsp;[Exclude RuxitSynthetic in custom user agent](https://community.dynatrace.com/post/249818), and add a comment mentioning why this is important for your testing.
