Get visible text on the java window #66
automonster
started this conversation in
General
Replies: 1 comment 2 replies
-
figured out that I could do it by text_field.get_element_information()['text'] :) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking for a function to get the visible text on the window. My code looks like below:
jabdriver = JABDriver("Java Control Panel", timeout=60)
text_fields = jabdriver.find_elements_by_role("text")
text_field = jabdriver.find_element_by_object_depth(11)
Now I want to get the visible text on the window "The Java Update mechanism ensures you have the most updated version of the Java Platform. The options below let you control how updates are obtained and applied."
@gaozhao1989 Kindly help me out.
Beta Was this translation helpful? Give feedback.
All reactions