How do I set Selenium desired capabilities via Restful API?

Greetings :wave:

I am trying to utilize your Restful API, but I can’t find where I can set the Selenium desired capabilities for jobs. Is there a way to add this to a job via API and also a way to return that data?

Hi @clopez .

You can run a job using the API here and add to the body a JSON containing custom job capabilities:
https://api.testproject.io/docs/v2/#/Jobs/Jobs_RunJobAsync

Regarding to get the job capabilities, currently there is no option to do that using the API. I have opened a ticket on this, you will be notified here once it’s resolved.

This is the ticket number: TP-17182

1 Like