Hi could anyone explain why elements are found in Chrome, but not Firefox?
So here’s my script…
WebUI.openBrowser(’’)
WebUI.navigateToUrl(‘https://beta.manager.mysite.com/login’)
WebUI.setText(findTestObject(‘Beta_Manager-Login/input_name’), ‘ukqa’)
WebUI.setText(findTestObject(‘Beta_Manager-Login/input_pass’), ‘uk1qa2@Lush’)
When I run this in Chrome it works fine… but when I run it in Firefox I get the following error:
Unable to set text ‘ukqa’ of object ‘Object Repository/Beta_Manager-Login/input_name’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Beta_Manager-Login/input_name’ located by ‘By.xpath: //input[count(. | id(“edit-name”)) = count(id(“edit-name”))]’ not found)
Thanks in advance,
Jon