BotSharp/src/Plugins/BotSharp.Plugin.WebDriver/data/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/templates/html_parser.liquid
2024-01-31 21:29:13 -06:00

6 lines
333 B
Plaintext

{{ html_content }}
=== According to above HTML ===
Find the html element in the similar meaning of "{{ element_name }}".
Output in JSON format {"tag_name": "", "element_id": "populated if element has id", "element_name": "populated if element has name", "index": -1}.
The index is the position of the element which starts with 0.