-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
General information:
- OS name: Windows
- OS version: 11
- OS architecture: 64 bits
- Python version: 3.12
- mss version: 6.0.0 (not sure), last library version for RF
- pygtk usage: no
Description of the warning/error
Issue with ScreenCap library, linked to the monitor parameter
I simply use :
Take Partial Screenshot name=screen quality=100 left=25 top=450 width=1750 height=300 monitor=1
But on my two screens setup, no matter the monitor value is (0, 1, 2…) the left screen is always captured.
Full message
No specific error
Example
This works with the format being provided :
ScreenTEST
Open Browser https://google.com chrome
Maximize Browser Window
Log Test0
Take Partial Screenshot name=test0 quality=100 left=25 top=450 width=1750 height=300 monitor=0 format=jpeg
Log Test1
Take Partial Screenshot name=test1 quality=100 left=25 top=450 width=1750 height=300 monitor=1 format=jpeg
Log Test2
Take Partial Screenshot name=test2 quality=100 left=25 top=450 width=1750 height=300 monitor=2 format=jpeg
Close Browser
If I remove the format=jpeg, hence partial capture is made in .png, same monitor is always captured.
Library is imported simply with ScreenCap (no other parameters)
Other details
See also this and analysis help by damies13 :
https://forum.robotframework.org/t/screencap-monitor-selection-parameter/6934
Metadata
Metadata
Assignees
Labels
No labels