Script tests with single command eg. combineSteps - does not work
Opened this issue · 0 comments
abhagupta commented
how do i send single line commands to the api in script test.
example combineSteps
in following script.
combineSteps
navigate https://www.walmart.com/account/login
execAndWait document.querySelector('[name="email"]').value='webpagetest_10_items@gmail.com'
<more steps here>
It does not accept combineSteps
as JSON object without value
{combineSteps},
{navigate: 'https://www.walmart.com/account/login'},
{execAndWait: ["document.querySelector('[name=email]').value='webpagetest@walmart.com'"]},
]