The tripleClick function, when called on MacOS, will cause the program to crash with a TypeError: not enough arguments for format string.
This issue arises in line 1168 when formatting the string "%s,3,%s%s" % (x, y). This string expects 3 values to format (namely (button, x, y)), but the "button" variable is missing from the formatting section.
To fix, update the line to:
_logScreenshot(logScreenshot, "click", "%s,3,%s,%s" % (button, x, y), folder=".")
The tripleClick function, when called on MacOS, will cause the program to crash with a
TypeError: not enough arguments for format string
. This issue arises in line 1168 when formatting the string "%s,3,%s%s" % (x, y). This string expects 3 values to format (namely (button, x, y)), but the "button" variable is missing from the formatting section.To fix, update the line to:
_logScreenshot(logScreenshot, "click", "%s,3,%s,%s" % (button, x, y), folder=".")