Script isn't working same on Chrome and Mozilla browsers

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++){



//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”)){


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


//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: ‘’, ‘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 →