# Script isn't working same on Chrome and Mozilla browsers

**URL:** <https://forum.katalon.com/t/script-isnt-working-same-on-chrome-and-mozilla-browsers/10790>\
**Category:** Miscellaneous\
**Created:** [May 9, 2018, 7:17am UTC](https://forum.katalon.com/t/script-isnt-working-same-on-chrome-and-mozilla-browsers/10790 "2018-05-09T07:17:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![preethi\_poosa](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@preethi\_poosa](https://forum.katalon.com/u/preethi_poosa)\
**Post date:** [May 9, 2018, 7:17am UTC](https://forum.katalon.com/t/script-isnt-working-same-on-chrome-and-mozilla-browsers/10790/1 "2018-05-09T07:17:11Z")

</div>

Hi,  
Its unable to move the cursor to another web Element after selecting few options from the angular dropdown(md-select-menu-container element) in Mozilla where as its working fine with Chrome.Any idea how to resolve this issue.

Sample Code:::  
**//Selecting the option from the drop-down**

def setUserRoles(String roles){

/\*

\* Uncheck all available roles if they are checked, to set roles that needed for tests

\*/

String defaultRolesArray = GlobalVariable.DefaultRoles.split(", ")

def defaultRoleList =

//Adding roles to list using Web Client format of role names

for (int i = 0; i \< defaultRolesArray.length; i++){

defaultRoleList.add(Utils.formatRolesToChekBoxFormat(defaultRolesArray.getAt(i)))

}

//Adding roles objects to TestObject list

def defaultRolesChekBox =

for (int i = 0; i \< defaultRoleList.size(); i++){

defaultRolesChekBox.add(new TestObject().addProperty(“xpath”, ConditionType.EQUALS, “//\*[@value='” + defaultRoleList.get(i) + “']”))

}

//Uncheck all default roles for further setting of new ones

for(TestObject object: defaultRolesChekBox){

if (“true” == WebUiCommonHelper.findWebElement(object, 10).getAttribute(“aria-selected”)){

WebUI.click(object)

}

}  
**// after selecting the option we are bring the focus to another web-Element**

WebUI.doubleClick(findTestObject(‘MobileEnterprise-Web/UserListPage/CreateUserGridPage/UserIdTxt’))

# **//Which fails with below error only in Mozilla but works fine in Chrome.**

Unable to double click on object ‘Object Repository/MobileEnterprise-Web/UserListPage/CreateUserGridPage/UserIdTxt’ (Root cause: org.openqa.selenium.WebDriverException: Element is not clickable at point (223, 243). Other element would receive the click: (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘G80DPRC2E’, ip: ‘10.177.66.108’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_102’

Driver info: com.kms.katalon.core.webui.driver.firefox.CFirefoxDriver47

Capabilities {acceptSslCerts: true, applicationCacheEnabled: true, browserName: firefox, cssSelectorsEnabled: true, databaseEnabled: true, handlesAlerts: true, javascriptEnabled: true, locationContextEnabled: true, nativeEvents: false, platform: WINDOWS, platformName: WINDOWS, rotatable: false, takesScreenshot: true, version: 52.7.4, webStorageEnabled: true}

Session ID: 705d8ef4-256b-412d-967f-1ee10e0eeee2)

\*\*Web-Element Code copied from Inpect Element(for reference):  
\*\*================

\<!-- ngRepeat: role in allAvailableRoles →

CREW\_MANAGER

FIELD\_SUPERVISOR

REPAIR\_CREW\_SUPERVISOR

INSPECT\_SUPERVISOR

DATA\_COLLECTION\_SUPERVISOR

SYSTEM\_ADMINISTRATOR

MOBILE\_USER

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:11am UTC](https://forum.katalon.com/t/script-isnt-working-same-on-chrome-and-mozilla-browsers/10790/2 "2022-08-08T07:11:39Z")

</div>

Archived on August 8, 2022, 7:11am UTC


