We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b89c58 commit 476e421Copy full SHA for 476e421
tests/test.py
@@ -136,7 +136,7 @@ def type_text_into_text_field(context_info_tree) -> ContextNode:
136
return text_area
137
138
def set_caret_position(context_info_tree):
139
- input_area = context_info_tree.get_by_attrs([SearchElement("role", "text")])[1]
+ input_area = context_info_tree.get_by_attrs([SearchElement("role", "text")])[0]
140
logging.info(input_area.get_actions())
141
input_area.set_caret_position(3)
142
logging.info("set_caret_position")
0 commit comments