Skip to content

Better control over browser's position and size is needed #1

@jakub-g

Description

@jakub-g

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

  1. a mechanism for tracking the movements of the browser window,
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions