Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

104
Views
Capture Request Payload from Web Browser Automation Javascript

I am trying to capture the PAYLOAD of a POST call. I have successfully been able to implement this using browser.mock in webdriverio. but, this is not supported for firefox and other browsers. Can anyone help me with an alternative?

const output = await  browser.mock('https://somerequesturldata', {method: 'post'});

await  browser.url('https://thesiteiambrowsing')
console.log(output.calls[0].postData)

I have tried fetch, but i think it is only grabbing the response which is not what I need.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!