Home InMillion Web Traffic Features Article
How to send clicks to any page by using Click by Atrribute feature?
IMA has three options to send clicks to any page:
To send one or more clicks to any element, define its value then click on Start Job button.
If you're already familiar with the browser console, you don't need to read this article. If not, let's get started!
How to know the attrbute value in order to use [Click by Attribute] feature?
In Links tab: Add the page link
In Developer tab: tick "Click by Attribute" option and select the attribute you want from the drop list, for example: CSS Selector
Open your browser, and navigate to the link you typed in Links tab
Right click on the element (Button, Image, Link ... etc.) you need the bot to clicks on. In the example below: I want to send click to "Help me to choose" button
1- Right click on the button
2- Choose: Inspect
The browser will open the console and indicates to the button properties
Right click on its properties and copy the attribute you want to deal with. in this example it is: CSS Selector
Back to the application and paste the value into the Text area then click on Test button
The report will open the browser and also will show the result of clicking the selected element based on the selected attribute: Correct or Error
In this case, you may try to choose another attribute (By ID, XPath, Text …etc.) or read the error reason that has been generated by the report, sometimes it could guide you to the correct way based on the element attribute.
More customization:
You can send unlimited clicks, as much as you want to the same page in the same session with more automated options.
Click on Plus sign then add new attributes, you can also set the time before the bot clicks on each one
In this example, the bot will do the following:
Notes & Best practices:
We appreciate your understanding that this feature is NOT supported due to its nature:
We're always happy to support and answer your questions, but you probably have noticed that we're unable to support, answer your question or guide you of how to use it or extract an attribute code.
You can imagine how many websites are there, how many pages each website has, and how many elements each page contains? Billions of billions of possibilities for each element attribute. It all depends on the way you have developed your website with, and you're the only one who knows that.
According to the nature of this feature, you need to have a basic knowledge in HTML and JavaScript coding languages and also, you have to be familiar with the browser console. If you don't have this knowledge, you probably can't use it.
However, it's really easy to learn some concepts about the browser console. We hope that this article has helped you to understand this feature, if not, google something like "find XPath or CSS selector in chrome console" or "how to use chrome console"
You may also read these two articles on Chrome Dev and Stackoverflow
[ 2624 Out of 2731 Found Helpful ]
Submit a ticket and we’ll get back to you as soon as possible.