Hi, I noticed that when I examine the screenshots, taken during a test, I cannot see the cursor location. In some element I do know where the cursor is since I can see the tooltip (using “Mouse Move Relative To”).
Is there a way to configure it?
Thanks,
Guto.
Hi,
The Take Screenshot keyword doesn’t have this argument or parameter.
However some libraries like ScreenCap have a display_cursor argument when importing the library:
https://rticau.github.io/ScreenCapLibrary/ScreenCapLibrary.html
This library also offers recording capabilities that are interesting for analysis and debugging.
Regards
Charlie
Thanks @CharlieScene ! I tried the new library but still the cursor is not visible in the screenshots.
I am using:
robotframework 6.1.1
robotframework-browser 18.0.0
robotframework-screencaplibrary 1.6.0
The libraries definitions are:
Library Browser auto_closing_level=MANUAL
Library ScreenCapLibrary format=jpg quality=100 display_cursor=True
@{ArgsList}= Create List -–start-maximized --start-fullscreen
Browser.New Browser browser=chromium headless=False args=${ArgsList}
Browser.New Context viewport={‘width’: 1920, ‘height’: 1080} ignoreHTTPSErrors=True
Thanks,
Guto.