pywinauto_recorder.player.PlayerSettings

class pywinauto_recorder.player.PlayerSettings[source]

Bases: object

The player settings class contains the default settings.

Methods

Attributes

mouse_move_duration

Mouse move duration (in seconds).

timeout

Maximum duration (in seconds) to wait for the find() function to search an element before giving up.

typing_pause

The pause time between characters typed

use_cache

If True, the find() function caches the results of the search.

mouse_move_duration = 0.5

Mouse move duration (in seconds).

timeout = 10

Maximum duration (in seconds) to wait for the find() function to search an element before giving up. If the element is not found after the given timeout, the search is interrupted.

typing_pause = 0.1

The pause time between characters typed

use_cache = True

If True, the find() function caches the results of the search. This is useful if the search is called several times on the same element.