lavague-ai / LaVague

Large Action Model framework to develop AI Web Agents
https://docs.lavague.ai/en/latest/
Apache License 2.0
4.94k stars 420 forks source link

Enable Viewport Resizing with LaVague #349

Closed paulpalmieri closed 2 weeks ago

paulpalmieri commented 2 weeks ago

Context: QA Automation Example

Is your feature request related to a problem? Please describe. Changing the browser window size is often necessary in test scenarios to verify website functionality across different viewport sizes. Currently, LaVague does not support instructions for resizing the viewport, which limits its effectiveness in comprehensive testing.

Describe the solution you’d like LaVague should be able to execute instructions to resize the viewport, including maximizing the window.

Describe alternatives you’ve considered Manually resizing the browser window during LaVague’s run is an alternative, but this approach undermines the purpose of automated end-to-end test generation.

Todo:

To test: Try to run examples/qa-automation/qa_automation.py with a test scenario that includes an instruction such as When the user maximizes the window