Here is my scenario: When interacting with page elements, the snapshot command lists all elements, but some are not visible in the Chrome window until I scroll. When I run agent-browser click @e3 on such an element, it completes without error, but nothing happens on the page.
I tried using agent-browser set viewport 2400 2000 to enlarge the browser window, but it only scaled up the page content (zoomed in) instead of actually expanding the window size.
Is it possible to make the click command fail if the element is not visible? Alternatively, is there a command to maximize the Chrome window?