Skip to content

Commit

Permalink
temp4
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Condurache committed May 5, 2023
1 parent 1b89c58 commit 476e421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def type_text_into_text_field(context_info_tree) -> ContextNode:
return text_area

def set_caret_position(context_info_tree):
input_area = context_info_tree.get_by_attrs([SearchElement("role", "text")])[1]
input_area = context_info_tree.get_by_attrs([SearchElement("role", "text")])[0]
logging.info(input_area.get_actions())
input_area.set_caret_position(3)
logging.info("set_caret_position")
Expand Down

0 comments on commit 476e421

Please sign in to comment.