Module ImportFrom alias alias identifier ImportFrom alias ImportFrom alias Import alias identifier ImportFrom alias alias ImportFrom alias identifier ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad Call NameLoad attr Str Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A os.path abspath join path_join random choice string ascii_lowercase N/A pyautogui ag robot.libraries.BuiltIn BuiltIn RobotNotRunningError robot.api logger LOGGER errors ScreenshotFolderException _Screenshot N/A object N/A _make_up_filename N/A N/A self N/A N/A N/A N/A N/A path N/A N/A N/A BuiltIn get_variable_value ${SUITE NAME} N/A path N/A %s-screenshot N/A N/A path replace N/A N/A N/A RobotNotRunningError N/A N/A N/A N/A LOGGER info Could not get suite name, using default naming scheme N/A path ImageHorizon-screenshot N/A path N/A %s-%d.png N/A path N/A self screenshot_counter N/A N/A self screenshot_counter 1 N/A path N/A take_a_screenshot N/A N/A self N/A N/A N/A Takes a screenshot of the screen.

        This keyword is run on failure if it is not overwritten when
        `importing` the library.

        Screenshots are saved to the current working directory or in the
        ``screenshot_folder`` if such is defined during `importing`.

        The file name for the screenshot is the current suite name with a
        running integer appended. If this keyword is used outside of Robot
        Framework execution, file name is this library's name with running
        integer appended.
         N/A target_dir N/A N/A self screenshot_folder N/A self screenshot_folder N/A N/A N/A isinstance target_dir basestring N/A N/A N/A ScreenshotFolderException N/A Screenshot folder is invalid: "%s" target_dir N/A path N/A N/A self _make_up_filename N/A path N/A abspath N/A path_join target_dir path N/A N/A N/A LOGGER info N/A N/A Screenshot taken: {0}<br/><img src="{0}" width="100%" /> format path html True N/A N/A N/A ag screenshot path N/A N/A