airtest.core.win.screen module

screenshot(filename, hwnd=None)[源代码]

Take the screenshot of Windows app

参数:
  • filename – file name where to store the screenshot

  • hwnd

返回:

bitmap screenshot file