<?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: Single click not working, but double click works - Browser Automation in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Single-click-not-working-but-double-click-works-Browser/m-p/116214#M52121</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/58907"&gt;@DipinDevP&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have had the same issue, I had this in Chrome, it was because of the HTML structure of the page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Press F12/Inspect element, in the panel look out for &lt;STRONG&gt;Event Listeners&lt;/STRONG&gt; and you can see the &lt;STRONG&gt;onclick&lt;/STRONG&gt; event has either 'click' or 'dbclick'. That's basically the JavaScript functions attached to the code/webpage,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;document&lt;/SPAN&gt;.&lt;SPAN class=""&gt;getElementById&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'header'&lt;/SPAN&gt;).&lt;SPAN class=""&gt;addEventListener&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'&lt;STRONG&gt;&lt;FONT color="#339966"&gt;click&lt;/FONT&gt;&lt;/STRONG&gt;'&lt;/SPAN&gt;, &lt;SPAN class=""&gt;function&lt;/SPAN&gt;(&lt;SPAN class=""&gt;event&lt;/SPAN&gt;) {
    &lt;SPAN class=""&gt;setTimeout&lt;/SPAN&gt;(&lt;SPAN class=""&gt;function&lt;/SPAN&gt;() {
        &lt;SPAN class=""&gt;// Code to handle the click event&lt;/SPAN&gt;
        &lt;SPAN class=""&gt;console&lt;/SPAN&gt;.&lt;SPAN class=""&gt;log&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'Header clicked'&lt;/SPAN&gt;);
    }, &lt;SPAN class=""&gt;500&lt;/SPAN&gt;); &lt;SPAN class=""&gt;// 500ms delay&lt;/SPAN&gt;
});&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Use 'Focus' action on the element you want to click. Try Adding wait before trying to interact and perform the Click operations.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This worked in my case, try to understand more how that element performs.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Oct 2024 15:32:26 GMT</pubDate>
    <dc:creator>Chakkravarthi_PR</dc:creator>
    <dc:date>2024-10-10T15:32:26Z</dc:date>
    <item>
      <title>Single click not working, but double click works - Browser Automation</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Single-click-not-working-but-double-click-works-Browser/m-p/116191#M52116</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Why double clicks works, but not single click in HTML Web elements (Table header, Menu Item etc.)&lt;/P&gt;&lt;P&gt;Can anyone please suggest here?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dipin Dev P&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 10:58:51 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Single-click-not-working-but-double-click-works-Browser/m-p/116191#M52116</guid>
      <dc:creator>DipinDevP</dc:creator>
      <dc:date>2024-10-10T10:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Single click not working, but double click works - Browser Automation</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Single-click-not-working-but-double-click-works-Browser/m-p/116214#M52121</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/58907"&gt;@DipinDevP&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have had the same issue, I had this in Chrome, it was because of the HTML structure of the page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Press F12/Inspect element, in the panel look out for &lt;STRONG&gt;Event Listeners&lt;/STRONG&gt; and you can see the &lt;STRONG&gt;onclick&lt;/STRONG&gt; event has either 'click' or 'dbclick'. That's basically the JavaScript functions attached to the code/webpage,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;document&lt;/SPAN&gt;.&lt;SPAN class=""&gt;getElementById&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'header'&lt;/SPAN&gt;).&lt;SPAN class=""&gt;addEventListener&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'&lt;STRONG&gt;&lt;FONT color="#339966"&gt;click&lt;/FONT&gt;&lt;/STRONG&gt;'&lt;/SPAN&gt;, &lt;SPAN class=""&gt;function&lt;/SPAN&gt;(&lt;SPAN class=""&gt;event&lt;/SPAN&gt;) {
    &lt;SPAN class=""&gt;setTimeout&lt;/SPAN&gt;(&lt;SPAN class=""&gt;function&lt;/SPAN&gt;() {
        &lt;SPAN class=""&gt;// Code to handle the click event&lt;/SPAN&gt;
        &lt;SPAN class=""&gt;console&lt;/SPAN&gt;.&lt;SPAN class=""&gt;log&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'Header clicked'&lt;/SPAN&gt;);
    }, &lt;SPAN class=""&gt;500&lt;/SPAN&gt;); &lt;SPAN class=""&gt;// 500ms delay&lt;/SPAN&gt;
});&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Use 'Focus' action on the element you want to click. Try Adding wait before trying to interact and perform the Click operations.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This worked in my case, try to understand more how that element performs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 15:32:26 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Single-click-not-working-but-double-click-works-Browser/m-p/116214#M52121</guid>
      <dc:creator>Chakkravarthi_PR</dc:creator>
      <dc:date>2024-10-10T15:32:26Z</dc:date>
    </item>
  </channel>
</rss>

