-
Notifications
You must be signed in to change notification settings - Fork 233
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
RPA.Windows
Allow calling List Windows
without getting process info
#1132
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, left a couple of comments/questions, but no blocker nor strong opinion on them.
@@ -17,6 +17,7 @@ class WindowsElementsMixin: | |||
|
|||
def __init__(self, locators_path: Optional[str] = None): | |||
self.logger = logging.getLogger(__name__) | |||
self.list_processes = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a good way to control the library when we're about to decide if we want to list processes by PIDs or not.
But who/what sets this list_processes
attribute (as False
for e.g.) over the library object instance? And do you have a test/example showcasing the usage?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was planning to add keyword to Windows library to toggle this setting but obviously it requires first that this value exists in the core
.
No description provided.