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

Use option to set default timeout #155

Open
gadenbuie opened this issue May 14, 2024 · 0 comments
Open

Use option to set default timeout #155

gadenbuie opened this issue May 14, 2024 · 0 comments

Comments

@gadenbuie
Copy link
Member

Setting the default timeout currently requires the following code:

chrome <- chromote::default_chromote_object()
chrome$default_timeout <- 60
chromote::set_default_chromote_object(chrome)

b <- ChromoteSession$new()
b$default_timeout
#> 60

It'd be helpful to have an option, e.g. chromote.timeout (exists and is used for connection and setup timeouts) or chromote.timeout.default if we want to separate the two options.

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

1 participant