Hello Friendos! I seem to be having an issue where I cannot resize the widgets present on an Angularjs Gridster. I’ve tried to use:
WebDriver driver = DriverFactory.getWebDriver() Actions builder = new Actions(driver) Thread.sleep(5000) WebUI.mouseOver(widget) //pfffffffft, this doesn't work WebElement rescaleWeb = WebUiCommonHelper.findWebElement(rescale,20) builder.clickAndHold(rescaleWeb).moveByOffset(-1090, 0).release().build().perform()
WebUI.mouseOver(widget) WebUI.moveByOffset(rescale, 800, 0)
Rescale references the little arrow present on the corner of a gridster widget that indicates that you can resize the widget. I wanted to then move that by an offset to resize the widget.
The issue is that instead of resizing, katalon/selenium seems to be locked by the actual widget and is not extending beyond those bounds. So when I run the script, the widget goes white like it’s being resized, but then doesn’t change and the test case passes.