Skip to content

[Feature Request] dash.testing.browser should allow custom timeout on wait_for_page() #1595

@iynehz

Description

@iynehz

While wait_for_page() the function itself is possible to take a timeout parameter, looks like when it's called in dash.testing.browser it is now always 10 sec for selenium to wait for dash app to serve.

self.wait_for_page()

def wait_for_page(self, url=None, timeout=10):

At our workplace we have some "heavy" setups on our dash apps. And I get error when trying out dash.testing like wait_for_page(347): dash server is not loaded within 10 seconds...

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