Issue:
While recording a video with ScreenCapLibrary in Robot Framework, you may get an exception like:
ScreenShotError: XGetImage() failed
Root Cause:
Ubuntu was using Wayland by default, however, mss needs x11. Therefore, we need to modify the configuration.
Solution: