Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release java object #12

Closed
szczepanR opened this issue Oct 28, 2021 · 4 comments · Fixed by #13
Closed

Release java object #12

szczepanR opened this issue Oct 28, 2021 · 4 comments · Fixed by #13

Comments

@szczepanR
Copy link

Hi,
How I can correctly release java object?

@gaozhao1989
Copy link
Owner

Hi @szczepanR,
Can you try function release_jabelement

@szczepanR
Copy link
Author

Thanks Gary,
I saw that function but I am not sure how to use it, can you give an example?

@gaozhao1989
Copy link
Owner

# sample for find element
btn = jabdriver.find_element_by_role("push button")
# this works for release the java object
btn.release_jabelement()

@szczepanR
Copy link
Author

great thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants