Sabou
Sabou

Reputation: 11

Runner.run parameter not available

In the documentation it's said that it's possible to use options to configure the runner. I would like to use the disableMultipleWindows option

runner.run({ disableMultipleWindows: true });

But I get the message :

Argument of type '{ disableMultipleWindows: boolean; }' 
is not assignable to parameter of type 'Partial<RunOptions>'

Is this a bug or is this option deliberately not activated yet?

I am using the latest stable release v1.14.2

Upvotes: 0

Views: 29

Answers (1)

Ilya Afanasenko
Ilya Afanasenko

Reputation: 527

disableMultipleWindows works, but there are some issues when using it in TypeScript. We are working on this issue. You can follow our progress here: https://github.com/DevExpress/testcafe/issues/6315.

There is also a workaround.

Upvotes: 1

Related Questions