Support Portal

for ProcessRobot and WinAutomation

Start a new topic
Answered

Press Button on Web Page vs Click Link on Web Page

Hello I am developing for 2 years with ProcessRobot only. 


I use both functions when I click on a web page button or when I need to do so. 

But still I don't know the difference between the two features. 


There is no issue with each other. Did you know the difference in functionality? 


Best Answer

Hello Jihun Kim,


The main difference between the Click Link on Web Page vs the Press Button on Web Page is in the scope of each action's way of interacting with a website's elements.

For example, the Click Link on Web Page action finds in general any element containing an HTML <a> Tag whereas the press button on webpage mainly looks for a web element containing the button type attribute (such as the common button types (button|submit|reset etc.)). In most cases, both actions will have the same results and can be used in place of each other, though there are cases where only the one of the two can be used.


Hope this helps.


ADMIN
Answer

Hello Jihun Kim,


The main difference between the Click Link on Web Page vs the Press Button on Web Page is in the scope of each action's way of interacting with a website's elements.

For example, the Click Link on Web Page action finds in general any element containing an HTML <a> Tag whereas the press button on webpage mainly looks for a web element containing the button type attribute (such as the common button types (button|submit|reset etc.)). In most cases, both actions will have the same results and can be used in place of each other, though there are cases where only the one of the two can be used.


Hope this helps.

I have tried both 'click'  and 'press'  as suggested above.  The loop works fine but in my Chrome browser, all it does is hover for <element> for a split second with a Yellow highlight and then moves to the next element in the list.  A click never takes place, bummer.


Any help is appreciated, thanks

waj
ADMIN

Hello Peter,


Since the bot can identify the element by highlighting in yellow, there are chances of blocking bots to access these elements.


Request to use the below method to send click in such scenarios:

https://support.softomotive.com/support/solutions/articles/35000050897-how-to-send-physical-right-left-click-on-web-element 


Hope this helps.

Login or Signup to post a comment