Skip to content

screen.waitFor() does not return when setting non-default timeout #189

Closed
@dancesWithBugs

Description

@dancesWithBugs

Version

1.5.0

Description

The following minimal example will throw an exception, but the progam will not return. If you set the default value of 5000, it works as expected.

const nut = require('@nut-tree/nut-js')
async function run() {
	await nut.screen.waitFor('test.png', 10000) // 5000 would work
}
run()

Issue occurs on

  • Dev/Host system (GNU/Linux)

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