Add the kwarg timeout to Connect to Browser
mardukbp opened this issue · 3 comments
mardukbp commented
Is your feature request related to a problem? Please describe.
When calling New Browser the kwarg "timeout" determines the time that Playwright waits for a selector to be resolved. The standard value is 30s. When connecting to a running browser with Connect to Browser there is no way to change this time interval.
Describe the solution you'd like
Connect to Browser has a kwarg timeout.
Describe alternatives you've considered
I tried setting the timeout to 1s with Set Browser Timeout but Playwright still waits 30s to resolve a selector.
Additional context
Add any other context or screenshots about the feature request here.
aaltat commented
Sounds reasonable
@allcontributors please add @mardukbp for ideas.
allcontributors commented