def METHOD_NAME(self):
    try:
        if sys.platform not in ("win32", "darwin"):
            ImageGrab.grab()
        ImageGrab.grab(xdisplay="")
    except OSError as e:
        pytest.skip(str(e))