Fixed a bug where best_match was returning wrapped windows - not handles
This commit is contained in:
parent
d42fda4396
commit
0db6410945
@ -170,6 +170,7 @@ def find_windows(class_name = None,
|
|||||||
windows = [WrapHandle(win) for win in windows]
|
windows = [WrapHandle(win) for win in windows]
|
||||||
windows = findbestmatch.find_best_control_matches(
|
windows = findbestmatch.find_best_control_matches(
|
||||||
best_match, windows)
|
best_match, windows)
|
||||||
|
windows = [win.handle for win in windows]
|
||||||
|
|
||||||
|
|
||||||
return windows
|
return windows
|
||||||
|
Loading…
Reference in New Issue
Block a user