The elements are not recognized in Chrome
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-05-20 03:31 PM
Hello All,
My process is started on a web page in Chrome browser, the spies are successful in the first page, but on the next page, with the same window title, the elements cannot be recognized. Attach is OK, but a browser spying mode does not work.(the elements are not highlighted)
On another resource PC the elements are recognized on the second page successfully. The two PCs have the same versions. (Chrome, BluePrism...)
I have BP 6.5 and Chrome 75.
I disabled the network service in Chrome and I tried to increase the BrowserAutomation.DefaultCommunicationTimeout value in Automate.config file.
Can anybody help me?
Thank you,
Gabor from Hungary
------------------------------
Gabor Kiraly
------------------------------
My process is started on a web page in Chrome browser, the spies are successful in the first page, but on the next page, with the same window title, the elements cannot be recognized. Attach is OK, but a browser spying mode does not work.(the elements are not highlighted)
On another resource PC the elements are recognized on the second page successfully. The two PCs have the same versions. (Chrome, BluePrism...)
I have BP 6.5 and Chrome 75.
I disabled the network service in Chrome and I tried to increase the BrowserAutomation.DefaultCommunicationTimeout value in Automate.config file.
Can anybody help me?
Thank you,
Gabor from Hungary
------------------------------
Gabor Kiraly
------------------------------
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-05-20 02:17 PM
We're having similar issues, for us the discrepancy is between personal development machines and runtime resource VM's, even though BP & Chrome versions are identical.
I have came across the following two interesting post;
This seems to go paired with the same issue, not sure if that's actually the case, but we'll try to have chrome shut down in a better way and see if it solves it.
------------------------------
Jonas
I have came across the following two interesting post;
- https://portal.blueprism.com/customer-support/support-center#/path/Automation-Design/Application-Integration/Chrome/1319712802/Why-is-my-Process-no-longer-able-to-spy-or-interact-with-Chrome-Browser.h...
- Summary: when switching between control room & studio triggering, this issue can appear due to a TCP port being blocked, which is used by the chrome extension. This can (only) be fixed by restarting the machine.
- Good news; this is being fixed in 6.8 (link)
This seems to go paired with the same issue, not sure if that's actually the case, but we'll try to have chrome shut down in a better way and see if it solves it.
------------------------------
Jonas
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-05-20 12:03 PM
Dear Jonas,
Thank you for your answer. We still haven't solved the problem.
Have you succeeded in Chrome shut down or else?
Gabor
------------------------------
Gabor Kiraly
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-20 11:10 AM
Hi Gabor
Yes, we've been able to shutdown chrome in a graceful manner.
According to this Stackoverflow post, we've adapted our terminate stage in each of our VBO's using chrome.
Previously we used 'terminate' or Utility - Kill Process, but this one seems to fix it.
Concretely, we add the following C# codeblock to terminate chrome:
Make sure to also import System.Diagnotics namespace in the Business Object Code Options.
In the end, it was a combination of several issues that seemed to trigger at different times;
Hopefully this helps!
------------------------------
Jonas
------------------------------
Yes, we've been able to shutdown chrome in a graceful manner.
According to this Stackoverflow post, we've adapted our terminate stage in each of our VBO's using chrome.
Previously we used 'terminate' or Utility - Kill Process, but this one seems to fix it.
Concretely, we add the following C# codeblock to terminate chrome:
Process[] processes; string procName = "chrome"; processes = Process.GetProcessesByName(procName); foreach (Process proc in processes){ proc.CloseMainWindow(); }
Make sure to also import System.Diagnotics namespace in the Business Object Code Options.
In the end, it was a combination of several issues that seemed to trigger at different times;
- 'Incorrect' Chrome termination
- Using Studio & Control room interchangeably
- UIA spying needed --forcerenderer-accessibility startup parameter
Hopefully this helps!
------------------------------
Jonas
------------------------------
