LDTP
3.5.0
|
closewindow(['<window name>'])
Close window based on the given name, default None. If None, will close 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/Menu.cs
closewindow('Mozilla Firefox')
wnck, pygtk python library