pywinauto_recorder.player.move_window
- pywinauto_recorder.player.move_window(element_path=None, x=0, y=0, width=800, height=800)[source]
Moves and resizes a window
- Parameters
element_path (
Union
[str
,UIAWrapper
,NewType()
(UI_Coordinates
, (float
,float
)),None
]) – element pathx (
Optional
[int
]) – new x coordinate of the upper left corner of the windowy (
Optional
[int
]) – new y coordinate of the upper left corner of the windowwidth (
Optional
[int
]) – new width of the windowheight (
Optional
[int
]) – new height of the window
- Returns
Pywinauto wrapper of found window
- Raises
FailedSearch – if no element found