Screenshot Issues in Mac OS
Incorrect screen shot captured in Mac operating system
symptom
Screen shot captured by Sahi shows the Mac desktop instead of the application screen.
cause
Sahi uses Java runtime for capturing the screen shot. If Java runtime does not have access to screen recording on Mac, Sahi will be unable to capture correct screen shot.
resolution
Allow Java runtime to record your screen as follows:
- On your Mac, choose Apple menu > System Preferences, click Security & Privacy, then click Privacy.
- Select Screen Recording.
- Select the tickbox next to Java to allow it to record your screen.
Incorrect screen shot captured in Firefox browser on Mac operating system
symptom
In Firefox browser, screen shot captured by Sahi contains partial part of Mac desktop instead of the application screen.
resolution
Perform following steps to configure Firefox profile :
- Append following line to
<Sahi>/config/ff_profile_template/pref.js
file:
user_pref("gfx.color_management.mode", 0);
- Close Sahi.
- Delete
<Sahi>/userdata/browser/ff/profile
folder. - Start Sahi.