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

reducing time taken for creating wrapper object #1377

Open
Roboflex30 opened this issue Feb 13, 2024 · 0 comments
Open

reducing time taken for creating wrapper object #1377

Roboflex30 opened this issue Feb 13, 2024 · 0 comments

Comments

@Roboflex30
Copy link

Expected Behavior

when the wrapper object is not available for the element, it takes 6-7 seconds before moving on the next step which makes the overall script slow. Is there a way to decrease the time taken for this wrapper object creation\fail

Steps to Reproduce the Problem

  1. I tried using the depth argument to reduce the depth of child_window to decrease the time taken but it's not working

Short Example of Code to Demonstrate the Problem

app = application.Application(backend="uia").connect(title=app_name, timeout=10)
wo = getattr(app, app_name).child_window(titlle="Submit", control_type="Button").wrapper_object()

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

No branches or pull requests

1 participant