perform a request from a script

I’m using the RESTful API and I want to make an API call in order to authenticate before running my test, is it possible to execute that request using the script param? or do I have to navigate to a login screen?

You need to be on a page of some sort in the browser to initiate the API call. You don’t necessarily have to navigate the login screen but you have to navigate to some page (probably on the same origin) then you can use the exec command to run javascript to make the API call.

Thanks, I’ll use that