Skip to content

Add a reasonable {chromote} wall timeout_ if Protocol timeout exists - #69

Merged
schloerke merged 7 commits into
mainfrom
timeout
Feb 26, 2022
Merged

schloerke merged 7 commits into
mainfrom
timeout

Conversation

@schloerke

@schloerke schloerke commented Jan 10, 2022 •

Copy link
Copy Markdown
Collaborator

If the timeout arg exists in the protocol, then timeout_ should default to a value that is reasonably larger. This prevents {chromote} from causing a timeout and letting Chrome DevTools Protocol handle the timeout. (If timeout_ is supplied, it will have preference.)

Questions:

  • Should this logic be kept:
    • If timeout_ is NULL and timeout is not NULL, then timeout_ will be set to a reasonable wall time. ((middle chunk starting at line 92))
    • Answer: Using rlang::missing_arg() to determine when a value was not provided

Comment thread R/protocol.R Resolved
@schloerke
schloerke merged commit eff0e8c into main Feb 26, 2022
@schloerke
schloerke deleted the timeout branch February 26, 2022 15:41
schloerke added a commit that referenced this pull request Feb 26, 2022
* main:
  Add a reasonable `{chromote}` wall `timeout_` if Protocol `timeout` exists (#69)
schloerke added a commit that referenced this pull request Apr 15, 2022
* main:
  Take screenshots beyond viewport without resizing (#83)
  Quote browser path if not using Windows (#80)
  Do not `shQuote()` the browser path (#78)
  `$view()` should use local `Chrome` browser if available (#73)
  Add a reasonable `{chromote}` wall `timeout_` if Protocol `timeout` exists (#69)
  Remove `ChromoteSession$get_parent()` and lock `$protocol` (#76)
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

Successfully merging this pull request may close these issues.

2 participants