* Add appropriate has_title = False to those classes whose text should not be treated as a title
* Also add a tiny delay after each SendMessageTimeout in _performclick as it was just a bit too quick.
This commit is contained in:
parent
9107e8b089
commit
2ecf9b731c
@ -150,6 +150,7 @@ class HwndWrapper(object):
|
||||
windowclasses = []
|
||||
handle = None
|
||||
can_be_label = False
|
||||
has_title = True
|
||||
|
||||
#-----------------------------------------------------------
|
||||
def __new__(cls, handle):
|
||||
@ -1619,6 +1620,8 @@ def _perform_click(
|
||||
#ctrl.PostMessage(msg, flags, click_point)
|
||||
#flags = 0
|
||||
|
||||
time.sleep(Timings.sendmessagetimeout_timeout)
|
||||
|
||||
# wait until the thread can accept another message
|
||||
win32functions.WaitGuiThreadIdle(ctrl)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user