Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Condurache committed May 4, 2023
1 parent 75f4289 commit 5dfcc4f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,15 @@ def type_text_into_text_field(context_info_tree) -> ContextNode:

def set_caret_location(text_area):
text_area.set_caret_position(3)
time.sleep(15)
logging.info("set_caret_location")

def get_caret_location():
pass
def get_caret_location(text_area):
text_area.get_caret_position(0)
logging.info("get_caret_location")

def select_text_range():
pass
def select_text_range(text_area):
text = text_area.select_text_range(1, 3)
logging.info(f"select_text_range: {text}")

def set_focus(context_info_tree):
# Set focus to main frame
Expand Down

0 comments on commit 5dfcc4f

Please sign in to comment.