# Cannot access Browser Login prompt/dialog

**URL:** <https://forum.katalon.com/t/cannot-access-browser-login-prompt-dialog/51753>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [February 2, 2021, 3:21pm UTC](https://forum.katalon.com/t/cannot-access-browser-login-prompt-dialog/51753 "2021-02-02T15:21:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gsp](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gsp/32/20464_2.png) [@gsp](https://forum.katalon.com/u/gsp)\
**Post date:** [February 2, 2021, 6:46pm UTC](https://forum.katalon.com/t/cannot-access-browser-login-prompt-dialog/51753/2 "2021-02-02T18:46:55Z")

</div>

hope this helps you [browserpopup](https://docs.katalon.com/katalon-studio/docs/pop_up_dialog_issue.html)

> [@Browser popups handling](http://forum.katalon.com/t/browser-popups-handling/20140):
>
> In our application after giving credentials and click on login button, there is certificate popup comes in where users need to click on OK to continue. When I am spying for objects, tool is not identifying the popups. How to handle in this situation…

add in your script

```auto
import java.awt.Robot as Robot
import java.awt.event.KeyEvent as KeyEvent

def th = new Thread((({
for (i = 0; i < 10; i++) {
Robot robot = new Robot()
Thread.sleep(5000)
robot.keyPress(KeyEvent.VK_ENTER)
Thread.sleep(1000)
break
}
}) as Runnable))

and add below code just before the action where popup displays

th.start()

```

---

_[View the full topic](https://forum.katalon.com/t/cannot-access-browser-login-prompt-dialog/51753)._
