I am using the RESTful APIs for automating tests. I found the documentation here https://sites.google.com/a/webpagetest.org/docs/advanced-features/webpagetest-restful-apis.
This works well when i have a single web page to run a test against. But i have the scenarios where i need to go to first page, e.g login fill in some values, and the run tests on a different page.
I have used the script feature from the webpagetest home page but i want to use the scripts with restful api. Going through the documentation i found the RESTful API allows script but i could not find any documentation for passing the script to the API.
Any help is appreciated.