Weird situation with chrome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-06-21 11:20 AM
a couple of question about chrome automation.
This is the situation, i have 2 different object: the first to launch chrome (with a navigate stage) and the second one to attach the login page.
1) If i try to open chrome manually and then attach with the second object it doesn't work the browser spy mode. It works only if i launch through the first object and then attach with the second one. Any possible solution?
2) I'm not able to spy with win32 spy mode in chrome. When i spy with browser mode (second object) it works fine but no with win32 spy mode. So, i'm not able to maximise window.
3) Where i can find resources, guideline, best practice about the chrome automation?
Thanks in advance,
VH
------------------------------
Vrat Himbo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-06-21 01:18 PM
2) You don't really need w32 for browser automation. Your options:
- Use the --start-maximized chrome switch (https://peter.sh/experiments/chromium-command-line-switches/) as an argument.
- Use keystrokes: Alt + Space brings up the window options context menu. Then send "x" to select maximize.
------------------------------
Ramón Requena López
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-06-21 01:47 PM
1) I've tried to change child index but it still doesn't work unless i start from "launch" object.
2) Thanks! It works 🙂
------------------------------
Vrat Himbo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-06-21 02:10 PM
------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-06-21 02:18 PM
------------------------------
Ramón Requena López
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-06-21 03:29 PM
Have you tried using a Child Index?
This could help you find the correct window.
------------------------------
Remko Bouwens
RPA Specialist
Boels Rental
Europe/Amsterdam
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-06-21 11:44 PM
------------------------------
Dave Morris
Cano Ai
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-06-21 10:16 AM
------------------------------
Ramón Requena López
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-06-21 11:34 AM
6.8
------------------------------
Vrat Himbo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-06-21 06:45 PM
For your second issue with Win32 mode not working, I've never encountered Win32 mode not working. Have you tested whether Win32 works when you attach to Chrome as if it's a Windows application? That is, change the application modeller's application type to Windows app by going back through the wizard.
The last thing I wanted to mention is based on what I gather from some of the replies in this thread. I do not ever use the Child Index for attaching in Chrome automation. It's just as others have said, it's really only a thing in IE automation. What I've found is that using the Attach button inside of Application Modeller does not work for Chrome automation. It just simply is completely useless. If you want to attach to an instance of Chrome, use a navigate stage to attach and step over it. Then you can open app modeller and start spying elements and such. There is more info surrounding this, but I don't want to complicate this discussion at the moment. The other piece that is important here is that Fixed/Ephemeral Port setting. To avoid that whole issue, just make sure that Blue Prism is always what launches the browser instance so that attaching will work.
------------------------------
Dave Morris
Cano Ai
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
