Back to all steps
Grab text and send
Step fields
1
selector
(text)
2
http://mysite.com/post
(url)
In a scenario, fields are joined with
|.Grab text from an element and POST it to your URL. Format: selector|url.
Example: .product-price|https://myapi.com/save — posts the price from .product-price
Example: .product-price|https://myapi.com/save — posts the price from .product-price
Usage example
Parse the text of an element and send a POST to your URL.
Format: selector|url
Example: .product-price|https://myapi.com/save — sends the text from .product-price.
POST request: the data arrives in the body field html.
Receiving example (PHP): $_POST["html"] · (Node/Express): req.body.html