Skip to content

Page-loading timeout not configurable but too short #1422

@jrpool

Description

@jrpool

The timeout for a page to be loaded by Scraper.scrape() is hard-coded at 10 seconds on line 57 of scraper.js. Under some conditions a page loads too slowly and times out, preventing any testing. If I edit that line and change 10000 to 20000, then the page loads and tests are successfully performed. To make alfa adaptable to a wider variety of network conditions and page designs, that timeout could be made configurable by the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReport of unexpected or faulty behaviour in Alfa

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions