-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Currently the robot starts the requested browser, maximizes it, and calibrates itself by measuring the viewport offsets of the browser wrt the OS screen.
This is however very suboptimal in certain cases. For instance, I may want to start dev tools and don't want the browser to be full screen for that reason. Also, I may want to resize a virtual machine's window.
A solution could be
- a mechanism for tracking the movements of the browser window,
- calibration should not be automatic but manual (perhaps behind a command line flag): SJR starts the browser, the user positions it how it fits him, presses the button in the page to start the calibration.
Solution 2 seems probably easier to implement and more robust.