<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: The elements are not recognized in Chrome in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/The-elements-are-not-recognized-in-Chrome/m-p/64842#M17551</link>
    <description>Hi Gabor&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yes, we've been able to shutdown chrome in a graceful manner.&amp;nbsp;&lt;BR /&gt;According to &lt;A href="https://stackoverflow.com/a/58293100" target="_blank" rel="noopener"&gt;this &lt;/A&gt;Stackoverflow post, we've adapted our terminate stage in each of our VBO's using chrome.&lt;BR /&gt;&lt;BR /&gt;Previously we used 'terminate' or Utility - Kill Process, but this one seems to fix it.&lt;BR /&gt;&lt;BR /&gt;Concretely, we add the following C# codeblock to terminate chrome:&lt;BR /&gt;
&lt;PRE class="language-csharp"&gt;Process&lt;SPAN class="token punctuation"&gt;[&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;]&lt;/SPAN&gt; processes&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;string&lt;/SPAN&gt; procName &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"chrome"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
processes &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; Process&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetProcessesByName&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;procName&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="token keyword"&gt;foreach&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;Process proc &lt;SPAN class="token keyword"&gt;in&lt;/SPAN&gt; processes&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;
   proc&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CloseMainWindow&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;​&lt;/PRE&gt;
&lt;BR /&gt;&lt;BR /&gt;Make sure to also import System.Diagnotics namespace in the Business Object Code Options.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In the end, it was a combination of several issues that seemed to trigger at different times;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;'Incorrect' Chrome termination&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Using Studio &amp;amp; Control room interchangeably&lt;/LI&gt;
&lt;LI&gt;UIA spying needed&amp;nbsp;&lt;EM&gt;--forcerenderer-accessibility&amp;nbsp;&lt;/EM&gt;startup parameter&lt;/LI&gt;
&lt;/UL&gt;
&lt;BR /&gt;Hopefully this helps!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jonas&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 18 May 2020 10:10:00 GMT</pubDate>
    <dc:creator>Jonas</dc:creator>
    <dc:date>2020-05-18T10:10:00Z</dc:date>
    <item>
      <title>The elements are not recognized in Chrome</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-elements-are-not-recognized-in-Chrome/m-p/64839#M17548</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;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) &lt;BR /&gt;&lt;BR /&gt;On another resource PC the elements are recognized on the second page successfully. The two PCs have the same versions. (Chrome, BluePrism...)&lt;BR /&gt;&lt;BR /&gt;I have BP 6.5 and Chrome 75.&amp;nbsp;&lt;BR /&gt;I disabled the network service in Chrome and I tried to i&lt;SPAN&gt;ncrease the BrowserAutomation.DefaultCommunicationTimeout value in Automate.config file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Can anybody help me?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Gabor from Hungary&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gabor Kiraly&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 11 May 2020 14:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-elements-are-not-recognized-in-Chrome/m-p/64839#M17548</guid>
      <dc:creator>GaborKiraly</dc:creator>
      <dc:date>2020-05-11T14:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: The elements are not recognized in Chrome</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-elements-are-not-recognized-in-Chrome/m-p/64840#M17549</link>
      <description>We're having similar issues, for us the discrepancy is between personal development machines and runtime resource VM's, even though BP &amp;amp; Chrome versions are identical.&lt;BR /&gt;&lt;BR /&gt;I have came across the following two interesting post;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="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.htm" target="_blank" rel="noopener"&gt;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.htm&lt;/A&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Summary&lt;/STRONG&gt;: when switching between control room &amp;amp; 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.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Good news;&lt;/STRONG&gt; this is being fixed in 6.8 (&lt;A href="https://community.blueprism.com/ideas/ideas/viewidea?IdeationKey=685838f9-1ad8-4ed9-b293-cc951d97904e" target="_blank" rel="noopener"&gt;link&lt;/A&gt;)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
Additionally, we always have the 'chrome was not shutdown correctly' notification because of the way we terminate the application.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jonas&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 May 2020 13:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-elements-are-not-recognized-in-Chrome/m-p/64840#M17549</guid>
      <dc:creator>Jonas</dc:creator>
      <dc:date>2020-05-12T13:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: The elements are not recognized in Chrome</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-elements-are-not-recognized-in-Chrome/m-p/64841#M17550</link>
      <description>&lt;P&gt;Dear Jonas,&amp;nbsp;&lt;BR /&gt;Thank you for your answer. We still haven't solved the problem.&lt;BR /&gt;Have you succeeded in Chrome shut down or else?&lt;BR /&gt;&lt;BR /&gt;Gabor&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gabor Kiraly&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 16 May 2020 11:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-elements-are-not-recognized-in-Chrome/m-p/64841#M17550</guid>
      <dc:creator>GaborKiraly</dc:creator>
      <dc:date>2020-05-16T11:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: The elements are not recognized in Chrome</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-elements-are-not-recognized-in-Chrome/m-p/64842#M17551</link>
      <description>Hi Gabor&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yes, we've been able to shutdown chrome in a graceful manner.&amp;nbsp;&lt;BR /&gt;According to &lt;A href="https://stackoverflow.com/a/58293100" target="_blank" rel="noopener"&gt;this &lt;/A&gt;Stackoverflow post, we've adapted our terminate stage in each of our VBO's using chrome.&lt;BR /&gt;&lt;BR /&gt;Previously we used 'terminate' or Utility - Kill Process, but this one seems to fix it.&lt;BR /&gt;&lt;BR /&gt;Concretely, we add the following C# codeblock to terminate chrome:&lt;BR /&gt;
&lt;PRE class="language-csharp"&gt;Process&lt;SPAN class="token punctuation"&gt;[&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;]&lt;/SPAN&gt; processes&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;string&lt;/SPAN&gt; procName &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"chrome"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
processes &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; Process&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetProcessesByName&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;procName&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="token keyword"&gt;foreach&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;Process proc &lt;SPAN class="token keyword"&gt;in&lt;/SPAN&gt; processes&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;
   proc&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CloseMainWindow&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;​&lt;/PRE&gt;
&lt;BR /&gt;&lt;BR /&gt;Make sure to also import System.Diagnotics namespace in the Business Object Code Options.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In the end, it was a combination of several issues that seemed to trigger at different times;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;'Incorrect' Chrome termination&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Using Studio &amp;amp; Control room interchangeably&lt;/LI&gt;
&lt;LI&gt;UIA spying needed&amp;nbsp;&lt;EM&gt;--forcerenderer-accessibility&amp;nbsp;&lt;/EM&gt;startup parameter&lt;/LI&gt;
&lt;/UL&gt;
&lt;BR /&gt;Hopefully this helps!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jonas&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 18 May 2020 10:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-elements-are-not-recognized-in-Chrome/m-p/64842#M17551</guid>
      <dc:creator>Jonas</dc:creator>
      <dc:date>2020-05-18T10:10:00Z</dc:date>
    </item>
  </channel>
</rss>

