page.runjs
command we can login under a test account and provide to the application the received token as certificate. The application checks if the token valid and disable Captcha for the session (obviously not on the production environment). Let's say we feed to page.runjs
the following function:ENV.<VARIABLE NAME>
. The same way template variables can be accessed in the code . page.setCookie
command to pass the retrieved token to the app server: