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

Chrome notification windows #21

Open
liquidmetalrob opened this issue Feb 8, 2023 · 4 comments
Open

Chrome notification windows #21

liquidmetalrob opened this issue Feb 8, 2023 · 4 comments

Comments

@liquidmetalrob
Copy link

I've been trying to detect Chrome notification windows without any success. Autohotkey can detect them just the same as Chrome windows but they're not appearing when I look at the output of getAllWindows().

@Krombik
Copy link
Owner

Krombik commented Feb 8, 2023

Try to find it by getWindowChildren method

@liquidmetalrob
Copy link
Author

I couldn't find it that way either.

@Krombik
Copy link
Owner

Krombik commented Feb 8, 2023

even in child of child?

@liquidmetalrob
Copy link
Author

When I create a Chrome notification, then click on it and run getWindowChildren, it treats it the same as the window that spawned it because whether I click on the parent window or the notification I only see one child window with the same handle, and that doesn't have any children, so the notification is not found.

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

2 participants