RobilityAI®

Header Example

Robility® Forum

Unleash your potential – connect, collaborate, and automate with our powerful solutions.

Web Automation - At...
 
Notifications
Clear all

[Solved] Web Automation - Attributes

4 Posts
2 Users
0 Reactions
282 Views
Posts: 37
 Hiba
Robility Support Team
Topic starter
(@iffhiba)
Member
Joined: 1 year ago

Hello everyone, I'm unsure about which attributes to choose after spying on elements on the website. I have tried using “ID”, “Tag”, “InnerText”, “ParentID”, and “Parent Tag”, but I'm still unable to click the elements correctly. What is the recommended attribute to use consistently?

Reply
Topic Tags
3 Replies
3 Replies
Robility Support Team
(@abidurai)
Joined: 1 year ago

Member
Posts: 73

Posted by: @iffhiba

Hello everyone, I'm unsure about which attributes to choose after spying on elements on the website. I have tried using “ID”, “Tag”, “InnerText”, “ParentID”, and “Parent Tag”, but I'm still unable to click the elements correctly. What is the recommended attribute to use consistently?

Hi @iffhiba,

The choice of attribute depends on the behavior of the website. If the website elements are dynamically changing or if AJAX loaders are used based on the input element, we recommend utilizing the “Dynamic Resilience” option. This option allows you to choose and detect surrounding elements to identify and interact with the native element.

Additionally, using “XPath” can help you navigate to the root and identify elements more easily.

Please let me know if you need further details.

 

Reply
 Hiba
Robility Support Team
(@iffhiba)
Joined: 1 year ago

Member
Posts: 37

Posted by: @abidurai

Posted by: @iffhiba

Hello everyone, I'm unsure about which attributes to choose after spying on elements on the website. I have tried using “ID”, “Tag”, “InnerText”, “ParentID”, and “Parent Tag”, but I'm still unable to click the elements correctly. What is the recommended attribute to use consistently?

Hi @iffhiba,

The choice of attribute depends on the behavior of the website. If the website elements are dynamically changing or if AJAX loaders are used based on the input element, we recommend utilizing the “Dynamic Resilience” option. This option allows you to choose and detect surrounding elements to identify and interact with the native element.

Additionally, using “XPath” can help you navigate to the root and identify elements more easily.

Please let me know if you need further details.

 

Thanks for the advice. Since the website will be dynamically changing, is it recommended to use “XPath” with surrounding elements enabled?

 

Reply
Robility Support Team
(@abidurai)
Joined: 1 year ago

Member
Posts: 73

Posted by: @iffhiba

Posted by: @abidurai

Posted by: @iffhiba

Hello everyone, I'm unsure about which attributes to choose after spying on elements on the website. I have tried using “ID”, “Tag”, “InnerText”, “ParentID”, and “Parent Tag”, but I'm still unable to click the elements correctly. What is the recommended attribute to use consistently?

Hi @iffhiba,

The choice of attribute depends on the behavior of the website. If the website elements are dynamically changing or if AJAX loaders are used based on the input element, we recommend utilizing the “Dynamic Resilience” option. This option allows you to choose and detect surrounding elements to identify and interact with the native element.

Additionally, using “XPath” can help you navigate to the root and identify elements more easily.

Please let me know if you need further details.

 

Thanks for the advice. Since the website will be dynamically changing, is it recommended to use “XPath” with surrounding elements enabled?

 

No, if the website is dynamically changing, you should avoid using “XPath” as the primary attribute since it can also be affected by these changes. Instead, you can use surrounding elements along with “InnerText” or another stable attribute to precisely identify the value.

You can choose the attributes from the below that opts for the solution.

 

Reply