LDTP
3.5.0
|
maximizewindow(['<window name>'])
Maximize window based on the given name, default None. If None, will maximize all window one by one
Returns | 1 on success, LdtpExecutionError exception will be thrown on failure |
Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/core.py
Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/core.py
Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Core.cs
maximizewindow('Mozilla Firefox')
wnck, pygtk python library