Skip to main content

clicknium.get_screenshot

def get_screenshot(image_file: str) -> None

Saves a screenshot of the current window to an image file.

Parameters:
image_file[Required]: str
file path to save image

Returns:
None

Example:


from clicknium import clicknium as cc

cc.get_screenshot("D:\\screenshot.png")