Sitelet https://github.com/catchpoint/WebPageTest.api-nodejs/issues/116
Skip to content

Script tests with single command eg. combineSteps - does not work #116

Description

@abhagupta

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'"]},
           
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions