Back to all steps

Grab attribute and send

Step fields
1 selector (text)
2 attribute name (text)
3 http://mysite.com/post (url)
In a scenario, fields are joined with |.
Grab an attribute value and POST it. Format: selector|attribute|url.
Example: img.product|src|https://myapi.com/img-urls
Usage example

Get the value of an element’s attribute and send a POST to your URL.

Format: selector|attribute|url

Example: img.product|src|https://myapi.com/img-urls

POST request: the attribute value arrives in the html field.

Receiving example (PHP): $_POST["html"]