Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose minimum test duration for WPT scripting. #353

Closed
Nooshu opened this issue Jun 1, 2020 · 2 comments
Closed

Expose minimum test duration for WPT scripting. #353

Nooshu opened this issue Jun 1, 2020 · 2 comments

Comments

@Nooshu
Copy link

Nooshu commented Jun 1, 2020

#349 allowed 404 pages to be tested via the use of the 'min test duration' workaround, but this currently isn't possible via scripting alone.

Example usage:

log 1
time 2
navigate https://www.site.com/this-is-a-404-page

Also related: #1275

@pmeenan
Copy link
Contributor

pmeenan commented Jun 2, 2020

Decided to make the script command somewhat more descriptive than the api parameter. It's setMinimumStepSeconds:

setMinimumStepSeconds	20
navigate	https://www.gov.uk/this-is-a-404

@pmeenan pmeenan closed this as completed in 6f47563 Jun 2, 2020
@pmeenan
Copy link
Contributor

pmeenan commented Jun 2, 2020

Just pushed to the release branch and should roll out to the public instance over the next hour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants