Need help to find the HTML details of a website | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Need help to find the HTML details of a website

Hi there, I need help in finding a some HTML details to automate the workflow using imacro extension for my project. I tried but no luck, can anyone help. Let me know we can connect. Thanks https://sololearn.com/discuss

21st Nov 2023, 3:45 PM
Prabhu Sundaram
Prabhu Sundaram - avatar
9 Answers
+ 4
What do you mean by HTML details? You can view the HTML of any website by right clicking and choosing 'view source' or if your on mobile just precede the website with 'view-source:' view-source:https://www.google.com/
21st Nov 2023, 5:03 PM
Keith
Keith - avatar
+ 1
iMacros is a browser extension for automating web tasks, including interacting with HTML elements. To create an automation script using iMacros for a simple HTML form, you can follow these steps: 1. **Open iMacros:** - Make sure you have iMacros installed in your browser. - Open the iMacros extension. 2. **Record a Macro:** - Click on the "Rec" button to start recording. - Interact with the webpage to perform the actions you want to automate (e.g., fill out a form). 3. **Stop Recording:** - Click on the "Stop" button in iMacros when you have completed the actions. 4. **Review the Script:** - Open the iMacros sidebar, and you'll see a list of recorded macros. - Select the macro you just recorded to view the script. 5. **Edit the Script:** - Modify the script as needed. You can add or remove steps, change values, and make adjustments. 6. **Run the Script:** - Click on the "Play" button to run your modified script. i found this on Internet. i think this will help you
22nd Nov 2023, 7:30 AM
AMINDU
AMINDU - avatar
+ 1
Here's an example of a simple HTML form automation using iMacros. This assumes a webpage with a form containing "Name" and "Email" fields:<!-- Sample HTML form to automate --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Sample Form</title> </head> <body> <form id="sampleForm"> <label for="name">Name:</label> <input type="text" id="name" name="name"> <label for="email">Email:</label> <input type="email" id="email" name="email"> <button type="submit">Submit</button> </form> </body> </html>
22nd Nov 2023, 7:35 AM
AMINDU
AMINDU - avatar
+ 1
The iMacros script might look like this: VERSION BUILD=1005 RECORDER=CR TAB T=1 URL GOTO=https://example.com/sample-form-page TAG POS=1 TYPE=INPUT:TEXT FORM=ID:sampleForm ATTR=ID:name CONTENT=YourName TAG POS=1 TYPE=INPUT:EMAIL FORM=ID:sampleForm ATTR=ID:email CONTENT=your@email.com TAG POS=1 TYPE=BUTTON FORM=ID:sampleForm ATTR=TYPE:submit Please replace https://example.com/sample-form-page with the actual URL of the page you want to automate and adjust the form field identifiers accordingly.
22nd Nov 2023, 7:39 AM
AMINDU
AMINDU - avatar
+ 1
it won't fit in a one post so i had to send 3 posts😇
22nd Nov 2023, 7:40 AM
AMINDU
AMINDU - avatar
+ 1
tell me if this help you to find what you're looking for😇
22nd Nov 2023, 7:41 AM
AMINDU
AMINDU - avatar
+ 1
Hey AMINDU, apprecite your support on this 🙌 I did found this in internet, the thing is i have tried everysingle steps, by record and play. But the extact thing where i am stuck is that, i need to find the perticular tag, form id, sampleform and attr=id etc of the websites clicks. Since i have minimum or no experience dealing with these. If someone could help me find those details of the exact buttons and clicks then i thing it will he very helpful. I am more than happy to connect person and fix this if willing to. Thank you so much
22nd Nov 2023, 7:20 PM
Prabhu Sundaram
Prabhu Sundaram - avatar
0
Hey Keith! Thank you for your message. Offcourse i did try finding terms like attributes class etc from view page source, but when i input it in imacro extension in chrome i get syntax error, so something is incorrect in my findings.
21st Nov 2023, 5:16 PM
Prabhu Sundaram
Prabhu Sundaram - avatar
0
Keith i appreciate your help on this. Please let me know if you can help me with finding the right elements and details to complete the automation. Thank you!
21st Nov 2023, 5:17 PM
Prabhu Sundaram
Prabhu Sundaram - avatar