<?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: Wait until Browser Page Refresh is Complete? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Wait-until-Browser-Page-Refresh-is-Complete/m-p/97354#M45383</link>
    <description>&lt;P&gt;Thank you for responding, but as I mentioned in the question, all the elements or conditions you might wait for *already exist*. As far as Blue Prism is concerned, the page looks identical before and after the refresh. Therefore the Wait stage won't wait for anything - all its conditions are already met. A human operator would see the page disappear briefly and then re-draw, and would instinctively know the page had re-downloaded, even if it was all the same data on that page. But I cannot find a way to program the robotic process to 'see' the refresh process has occurred and completed.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Mar 2023 10:54:02 GMT</pubDate>
    <dc:creator>petersjo</dc:creator>
    <dc:date>2023-03-06T10:54:02Z</dc:date>
    <item>
      <title>Wait until Browser Page Refresh is Complete?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Wait-until-Browser-Page-Refresh-is-Complete/m-p/97352#M45381</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have an object that changes a dropdown list on a web portal (open in an Edge browser window). The change triggers a page refresh (I'm explaining this for completeness, though actually just sending an F5 to the window would raise the same issue).&lt;/P&gt;
&lt;P&gt;The issue we have is - How can the object 'know' when the page has refreshed? A wait stage based on "Parent document loaded = True" doesn't cause a wait, since the page was already loaded prior to the refresh. Similarly a Wait stage looking for the presence of any element will meet the conditions immediately since the element is already there. The issue boils down to having to wait for a 'change', yet when there are no updates for the page to show, nothing will actually change when a refresh happens. What ever hook you look for, it's already there.&lt;/P&gt;
&lt;P&gt;When the page actually redraws (typically 5-10 seconds after the refresh is requested), the page content does, very momentarily, disappear and reappear. Therefore we've tried having a cascaded pair of Wait stages, "Wait for page/element to NOT be there" followed by "Wait for it TO be there (again)". This works about 95% of the time, but Wait stages must presumably be checking their condition(s) on a loop, and sometimes it misses the split second when the page/element is missing before it's re-drawn. Thus the first part of the cascaded Wait just times out waiting for the page to NOT be present (because it missed it).&lt;/P&gt;
&lt;P&gt;The blunt way out of this seems to be to put in a dumb 10 second wait. But is there a better way?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 11:25:39 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Wait-until-Browser-Page-Refresh-is-Complete/m-p/97352#M45381</guid>
      <dc:creator>petersjo</dc:creator>
      <dc:date>2023-02-28T11:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Wait until Browser Page Refresh is Complete?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Wait-until-Browser-Page-Refresh-is-Complete/m-p/97353#M45382</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/54467"&gt;@petersjo&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;You can add wait stage that element exist before you made an action (Write or click) or You can add wait stage that latest loading element exist.&lt;/P&gt;
&lt;P&gt;Have a nice day...&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 19:58:58 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Wait-until-Browser-Page-Refresh-is-Complete/m-p/97353#M45382</guid>
      <dc:creator>ÖzençGezgin</dc:creator>
      <dc:date>2023-02-28T19:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Wait until Browser Page Refresh is Complete?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Wait-until-Browser-Page-Refresh-is-Complete/m-p/97354#M45383</link>
      <description>&lt;P&gt;Thank you for responding, but as I mentioned in the question, all the elements or conditions you might wait for *already exist*. As far as Blue Prism is concerned, the page looks identical before and after the refresh. Therefore the Wait stage won't wait for anything - all its conditions are already met. A human operator would see the page disappear briefly and then re-draw, and would instinctively know the page had re-downloaded, even if it was all the same data on that page. But I cannot find a way to program the robotic process to 'see' the refresh process has occurred and completed.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 10:54:02 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Wait-until-Browser-Page-Refresh-is-Complete/m-p/97354#M45383</guid>
      <dc:creator>petersjo</dc:creator>
      <dc:date>2023-03-06T10:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Wait until Browser Page Refresh is Complete?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Wait-until-Browser-Page-Refresh-is-Complete/m-p/97355#M45384</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can the approach be inverted? Meaning:&lt;/P&gt;
&lt;P&gt;Page loads&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the page reloads, something disappears and reappears&lt;/P&gt;
&lt;P&gt;Therefore, if we wait for say a control or a label to disappear and reappear &lt;EM&gt;after&lt;/EM&gt; the initial page load, maybe that would confirm that the page has reloaded?&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 15:23:38 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Wait-until-Browser-Page-Refresh-is-Complete/m-p/97355#M45384</guid>
      <dc:creator>andymenon</dc:creator>
      <dc:date>2023-03-06T15:23:38Z</dc:date>
    </item>
  </channel>
</rss>

