LDTP
3.5.0
|
getaccesskey('<window name>'[, '<component name>'])
Will return access key, if available
String | with access key on success, LdtpExecutionError exception 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/Generic.cs
from ldtp import *
print getaccesskey("Preferences", "btnOK")