Verifying width and height?

Hi there,

You miss to call ‘findTestObject’ in parameter of getElementWidth. Your correct script should be:
WebUI.verifyEqual(WebUI.getElementWidth(findTestObject('STW_headerimage_homepage/ul_hero-team (1)')), 772)

1 Like