http_post with data in body

new topic     » topic index » view thread      » older message » newer message

I want to drive Chrome via chromedriver (or Firefox via geckodriver, ...). Thies drivers are part of SeleniumHQ.

To do this, I need to add "Content-type: application/json" in the header, "{\"desiredCapabilities\";{})" in the body and post the request to the driver at localhost:9515. How can I do this with http_post?

I tried to do this with WinHTTP (Eu3 Standard library) but I don't know how to fill the body of the request.

Regards

Jean-Marc

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu