The Headless Testing API allows you to build and test web applications without a web browser. This is useful for testing web applications that are not compatible with web browsers, or for testing web applications that are only accessible through a web browser.
Here are some examples of what you can build with the Headless Testing API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
headless_testing: {
type: "app",
app: "headless_testing",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.headlesstesting.com/api/v1/user`,
params: {
token: `${this.headless_testing.$auth.api_key}`,
},
})
},
})