airtest.core.win.screen module

screenshot(filename, hwnd=None)[source]

Take the screenshot of Windows app

Parameters:
  • filename – file name where to store the screenshot

  • hwnd

Returns:

bitmap screenshot file