Skip to content

Commit 5dfcc4f

Browse files
author
Bogdan Condurache
committed
test2
1 parent 75f4289 commit 5dfcc4f

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

tests/test.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,15 @@ def type_text_into_text_field(context_info_tree) -> ContextNode:
137137

138138
def set_caret_location(text_area):
139139
text_area.set_caret_position(3)
140-
time.sleep(15)
140+
logging.info("set_caret_location")
141141

142-
def get_caret_location():
143-
pass
142+
def get_caret_location(text_area):
143+
text_area.get_caret_position(0)
144+
logging.info("get_caret_location")
144145

145-
def select_text_range():
146-
pass
146+
def select_text_range(text_area):
147+
text = text_area.select_text_range(1, 3)
148+
logging.info(f"select_text_range: {text}")
147149

148150
def set_focus(context_info_tree):
149151
# Set focus to main frame

0 commit comments

Comments
 (0)