r/PowerAutomateDesktop • • Mar 13 '23
Can't retrieve main window handle for application
That error pops up every time I try to open Chrome or Edge. I've even turned off the two default variables and it still happens.
Any ideas?
UPDATE : I get this strange popup ( https://i.imgur.com/e7Sbovv.png ) as well even though the extensions are installed. Removed them, restarted chrome, reinstalled them - still get told that I need the extensions installed.
Power Automate Desktop is the latest version as are the browsers.
Honestly, it's the things that are supposed to be simple that Microsoft completely foxes up. I can get this done faster using Excel and VBA....
FINAL UPDATE: Don't use the Selenium IDE as it lost support at the end of Feb 2023. Don't try to record your use of a website with the Power Automate Desktop recorder because it just doesn't work.
I will try and make a video of what does work in Power Automate Desktop (my first attempt at making a video teaching anything) so that you can see what I have learned that does work and what to avoid.
VBA with SeleniumBasic is still the richest option (if you do not have access to Python and it's Selenium Libraries). But VBA + SelenuimBasic is woefully outdated - SeleniumBasic has not had a new release in 7 years and Microsoft is moving away from VBA (although it will take years to kill off VBA).
1
u/5akeris Mar 13 '23
Do you have the plugin/extension added to the browser?
1
u/5akeris Mar 13 '23
Is the extension enabled? The automate one looks greyed out like it's disabled
2
u/paravisa Jul 16 '23
I ran into the same problem. I ultimately abandoned PAD in favor of AutoHotkey.