def static hoverOnColor(final String colorId) {
WebUI.waitForElementPresent(findTestObject('ProductLandingPage/ColorSwatch', [('siteID'): 'coveobe9eb65f', [('buttonID'):colorId]]), 2)
}
I have the above mentioned method that tries to find the test object based on two dynamic parameters.
I followed the syntax from https://docs.katalon.com/katalon-studio/docs/parameterize-web-objects.html#example but still I am getting squiggly line on the second parameter. Is there something wrong with this syntax?