# WebUI.acceptAlert() is not working in Version 8.6.0

**URL:** <https://forum.katalon.com/t/webui-acceptalert-is-not-working-in-version-8-6-0/87024>\
**Category:** Bug Report\
**Tags:** web-testing, bugs-report, katalon-studio\
**Created:** [April 14, 2023, 5:38am UTC](https://forum.katalon.com/t/webui-acceptalert-is-not-working-in-version-8-6-0/87024 "2023-04-14T05:38:32Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 19, 2023, 10:12pm UTC](https://forum.katalon.com/t/webui-acceptalert-is-not-working-in-version-8-6-0/87024/15 "2023-04-19T22:12:09Z")

</div>

> [@Russ\_Thomas](#):
>
> Kaz, I don’t know where you got this information, but it’s wrong.

I got the observation by my experiment, which I posted public previously at

> [@Alerts are displayed, but disappear before I can accept it](http://forum.katalon.com/t/alerts-are-displayed-but-disappear-before-i-can-accept-it/60318/15):
>
> I tried to reproduce your issue on my side usig the alert.html you shared. Yes, I could. I executed thiis: import org.openqa.selenium.By import org.openqa.selenium.WebDriver import org.openqa.selenium.WebElement import com.kms.katalon.core.model.FailureHandling as FailureHandling import com.kms.katalon.core.webui.driver.DriverFactory import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI WebUI.openBrowser("") WebUI.navigateToUrl("http://localhost/alert.html") // I have a HT…

I have created a GitHub repository; with it you can reproduce my findings .

> **[GitHub - kazurayam/ks\_AlertDialogueDisappears](https://github.com/kazurayam/ks_AlertDialogueDisappears)**
>
> Contribute to kazurayam/ks\_AlertDialogueDisappears development by creating an account on GitHub.

You need to start a tiny HTTP server locally.

```auto
$ cd ks_AlertDialogueDisappears

$ groovy server.groovy

```

The `server.groovy` is dependent on the version of Groovy. You must have Groovy v2.4.x installed

```auto
$ groovy --version
Groovy Version: 2.4.21 JVM: 11.0.18 Vendor: Amazon.com Inc. OS: Mac OS X

```

Then you want to run `Test Cases/testAlert` while specifying type of browsers: Chrome, FF, Safari, …

---

_[View the full topic](https://forum.katalon.com/t/webui-acceptalert-is-not-working-in-version-8-6-0/87024)._
