# Authentication Pop-Up in Firefox

**URL:** <https://forum.katalon.com/t/authentication-pop-up-in-firefox/8627>\
**Category:** Web Testing\
**Tags:** web-testing, katalon-studio\
**Created:** [December 19, 2017, 2:42pm UTC](https://forum.katalon.com/t/authentication-pop-up-in-firefox/8627 "2017-12-19T14:42:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rabah](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@rabah](https://forum.katalon.com/u/rabah)\
**Post date:** [December 19, 2017, 2:42pm UTC](https://forum.katalon.com/t/authentication-pop-up-in-firefox/8627/1 "2017-12-19T14:42:53Z")

</div>

Hello KATALON Community;

Does  
anyone know how to handle Authentication Pop-Up in Firefox, when I used Record  
mode, it goes off and can’t detect any field ??

Thanks for your help 🙂

[Captcccure.PNG](https://s3.amazonaws.com/katalon-forum/editor/cn/xdbcsbhk79ih.png)

---

<div class="post-metadata">

**Author:** ![nhi](https://avatars.discourse-cdn.com/v4/letter/n/d2c977/32.png) [@nhi](https://forum.katalon.com/u/nhi)\
**Post date:** [December 19, 2017, 4:45pm UTC](https://forum.katalon.com/t/authentication-pop-up-in-firefox/8627/2 "2017-12-19T16:45:51Z")

</div>

@rabah: you could use Authenticate keyword to handle this in Firefox  
But Katalon Recording does not support on detecting authentication dialog, so while you are recording, please add authentication information manually, then proceed record other steps.  
After the test case is generated, change the line:

```auto
WebUI.navigateToURL('Your_url')

```

to

```auto
WebUI.authenticate('Your_url', 'username','password',0)

```

It should work now.  
Details for keyword authenticate is here: [https://docs.katalon.com/display/KD/%5BWebUI%5D+Authenticate](https://docs.katalon.com/display/KD/%5BWebUI%5D+Authenticate "Link: https://docs.katalon.com/display/KD/%5BWebUI%5D+Authenticate")

Sample is in attached screenshot

[2017-12-19 23\_45\_08.png](https://s3.amazonaws.com/katalon-forum/editor/9w/59g44l1i2ah5.png)

---

<div class="post-metadata">

**Author:** ![rabah](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@rabah](https://forum.katalon.com/u/rabah)\
**Post date:** [December 20, 2017, 8:22am UTC](https://forum.katalon.com/t/authentication-pop-up-in-firefox/8627/3 "2017-12-20T08:22:16Z")

</div>

Thank you @nhi for your response, but unfortunately, it doesn’t  
work 😕 it’s like he does not recognize the field for user/password ☹

---

<div class="post-metadata">

**Author:** ![nhi](https://avatars.discourse-cdn.com/v4/letter/n/d2c977/32.png) [@nhi](https://forum.katalon.com/u/nhi)\
**Post date:** [December 21, 2017, 3:28am UTC](https://forum.katalon.com/t/authentication-pop-up-in-firefox/8627/4 "2017-12-21T03:28:45Z")

</div>

@rabah: do you get any error message? There are some note when you run with this:  
- This will work only for Firefox at this time  
- It will take a delay about 5-10 seconds to execute authenticate test step  
- During the authenticate test step is executed, please don’t click or open any other windows

---

<div class="post-metadata">

**Author:** ![Nilesh\_Smartwebtech](https://avatars.discourse-cdn.com/v4/letter/n/278dde/32.png) [@Nilesh\_Smartwebtech](https://forum.katalon.com/u/Nilesh_Smartwebtech)\
**Post date:** [April 19, 2018, 7:40am UTC](https://forum.katalon.com/t/authentication-pop-up-in-firefox/8627/5 "2018-04-19T07:40:32Z")

</div>

You can user url with authentication information like below  
\*\*[http://username:password@domain.com](http://username:password@domain.com)  
\*\*this works for me

---

<div class="post-metadata">

**Author:** ![Andrea\_D\_ali](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Andrea\_D\_ali](https://forum.katalon.com/u/Andrea_D_ali)\
**Post date:** [June 11, 2018, 3:59pm UTC](https://forum.katalon.com/t/authentication-pop-up-in-firefox/8627/6 "2018-06-11T15:59:01Z")

</div>

> Nilesh Smartwebtech said:
> 
> You can user url with authentication information like below  
> \*\*[http://username:password@domain.com](http://username:password@domain.com)  
> \*\*this works for me

With Firefox it doesn’t work ☹  
Have you other ideas to solve the problem??  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![Manohar](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@Manohar](https://forum.katalon.com/u/Manohar)\
**Post date:** [November 22, 2018, 3:06pm UTC](https://forum.katalon.com/t/authentication-pop-up-in-firefox/8627/7 "2018-11-22T15:06:08Z")

</div>

> [Andrea D’alì](https://forum.katalon.com/profile/7989/Andrea%20D%27al%C3%AC) said:
> 
> > Nilesh Smartwebtech said:
> > 
> > You can user url with authentication information like below  
> > \*\*[http://username:password@domain.com](http://username:password@domain.com)  
> > \*\*this works for me
> 
> With Firefox it doesn’t work ☹  
> Have you other ideas to solve the problem??  
> Thanks in advance

Yes, been doing lot of research but no luck with windows authentication with FF browser, looking forward for some suggestions. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![varun.pradhan](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@varun.pradhan](https://forum.katalon.com/u/varun.pradhan)\
**Post date:** [March 30, 2019, 2:09pm UTC](https://forum.katalon.com/t/authentication-pop-up-in-firefox/8627/8 "2019-03-30T14:09:57Z")

</div>

WebUI.setAlertText((+ Keys.TAB.toString()) + )

WebUI.acceptAlert()
