botcity-dev/botcity-framework-core

WebBot - Exception when trying to move to coordinates of some elements using Firefox.

joao-voltarelli opened this issue · 0 comments

  • Description:
    Using Firefox, in some cases an exception is thrown when trying to move and click certain elements on the screen. The error happens when moving the mouse to the coordinates of a certain element that was found.

org.openqa.selenium.interactions.MoveTargetOutOfBoundsException: (202, -351) is out of bounds of viewport width (1600) and height (900)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'LAPTOP-VKRO920G', ip: '10.0.0.180', os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.3'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 102.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20220623063721, moz:geckodriverVersion: 0.31.0, moz:headless: false, moz:processID: 13920, moz:profile: C:\Users\joaov\AppData\Loca..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: e115850e-0952-496c-af77-57de2485f404
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.perform(RemoteWebDriver.java:618)
at org.openqa.selenium.interactions.Actions$BuiltAction.perform(Actions.java:639)
at org.openqa.selenium.interactions.Actions.perform(Actions.java:595)
at dev.botcity.framework.bot.WebBot.moveTo(WebBot.java:2201)
at dev.botcity.framework.bot.WebBot.clickAt(WebBot.java:1914)
at dev.botcity.framework.bot.WebBot.click(WebBot.java:2017)
at dev.botcity.framework.bot.WebBot.click(WebBot.java:2042)
at dev.botcity.framework.bot.WebBot.click(WebBot.java:2049)
at dev.botcity.main.FirstBotWeb.action(FirstBotWeb.java:69)
at dev.botcity.maestro_sdk.BotExecutor.run(BotExecutor.java:28)
at dev.botcity.main.FirstBotWeb.main(FirstBotWeb.java:108)