Describe the bug
As title, "Scrolling Along X" button exists on the Test-Dragon GUI even when the browser is not capable of horizontal scrolling on the current website. In other word, the action, "Scrolling Along X", should not always exist in the returning list of API.stateAna.getLegalActionList().
Moreover, If I click the button when the website is not able to do horizontal scrolling, Test-Dragon will be frozen by the bug.
When Test-Dragon is available to response, find the "scrollingAlongX" button
Click it.
Expected behavior
There is no such button to click.
Screenshots
Desktop (please complete the following information):
OS: Windows 11 22H2
Browser: Firefox
Version: 121
Call stack of running procedures (or methods)
As Screenshot
Dumping text from terminal or console
As screenshot
Additional context
None
Your diagnosis
The code segment of the API is inside the "CnTestingTask.pyc", which is hard to diagnosis on client side.
Your suggestions for fixing the problem
The button "scrollAlongX" should not exist if current website on browser is not able to do horizontal scrolling
Describe the bug As title, "Scrolling Along X" button exists on the Test-Dragon GUI even when the browser is not capable of horizontal scrolling on the current website. In other word, the action, "Scrolling Along X", should not always exist in the returning list of API.stateAna.getLegalActionList(). Moreover, If I click the button when the website is not able to do horizontal scrolling, Test-Dragon will be frozen by the bug.
Project ID 150
Name of App under Test website under testing browser: firefox
Type of App under Test Web app
URL Mandatory for web app under test
To Reproduce Steps to reproduce the behavior:
Expected behavior There is no such button to click.
Screenshots
Desktop (please complete the following information):
Call stack of running procedures (or methods) As Screenshot
Dumping text from terminal or console As screenshot
Additional context None
Your diagnosis The code segment of the API is inside the "CnTestingTask.pyc", which is hard to diagnosis on client side.
Your suggestions for fixing the problem The button "scrollAlongX" should not exist if current website on browser is not able to do horizontal scrolling
References None