We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75f4289 commit 5dfcc4fCopy full SHA for 5dfcc4f
1 file changed
tests/test.py
@@ -137,13 +137,15 @@ def type_text_into_text_field(context_info_tree) -> ContextNode:
137
138
def set_caret_location(text_area):
139
text_area.set_caret_position(3)
140
- time.sleep(15)
+ logging.info("set_caret_location")
141
142
-def get_caret_location():
143
- pass
+def get_caret_location(text_area):
+ text_area.get_caret_position(0)
144
+ logging.info("get_caret_location")
145
-def select_text_range():
146
+def select_text_range(text_area):
147
+ text = text_area.select_text_range(1, 3)
148
+ logging.info(f"select_text_range: {text}")
149
150
def set_focus(context_info_tree):
151
# Set focus to main frame
0 commit comments