Skip to content

commands.wait types are incomplete #2495

Description

@kormanowsky

Feature/improvement

Just noticed that commands.wait types aren't complete, now wait is just a function, but in the JavaScript code, it's also an object with by* methods. I'd fix this myself, but I'm not sure whether we should use by* methods or not with sitespeed v40+. And if not, there's a question again. While byTime method, for example, is likely easy-to-implement by using something like promisify(setTimeout), byPageToComplete relies on a page complete check which is configured in the CLI so not so easy to implement on the user's side.
What should we do with all this, @soulgalore ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions