Skip to content

Commit

Permalink
FIX: Set state element on get_element_coords.
Browse files Browse the repository at this point in the history
  • Loading branch information
hhslepicka committed Sep 3, 2021
1 parent 42d1836 commit ba4a542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion botcity/web/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ def get_element_coords(self, label, x=None, y=None, width=None, height=None, mat
ele = next(it)
except StopIteration:
ele = None
self.state.element = ele
self.state.element = ele

if ele:
return ele.left, ele.top
Expand Down

0 comments on commit ba4a542

Please sign in to comment.