Commit e73ffd1
authored
Miniwob zoom (#352)
* Set device scale factor to 1.0 in extract_screenshot for consistent rendering. This prevens screenshot sized to be affected by environments such as "retina" on macbook
* add examples to the description
* zoom miniwob 150% by default (doesn't change the viewport, just has a better usage of the viewport)
* adjust version
* Update extract_screenshot to use actual window dimensions for device metrics
* Enhance zoom functionality in miniwob for better viewport usage and precision in visual agents
* Enhance zoom_page docstring with detailed explanation of CSS transform scaling benefits
* Adjust zoom factor in miniwob to improve viewport usage and precision for visual agents
* adding type
* Remap the coordinate actions based on the zoom factor
* apply the zooming at the screenshot level
* changing the zoom method
* Fix viewport dimensions for consistency in Miniwob tasks1 parent 9e4e07c commit e73ffd1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments