ulixee / hero

The web browser built for scraping
MIT License
657 stars 32 forks source link

feat(timetravel): timeline extender ms after cmd #116

Closed blakebyrnes closed 2 years ago

blakebyrnes commented 2 years ago

Modified the TimelineRecorder (which used to activate and cancel creating timestamps) to a TimelineWatch, which will emit events when the timeline changes, and will optionally extend the timeline (ie, close time) by X ms after the last command, or X ms after the last status. This allows us to say, extend the session 2 seconds after the last command finished, or 2 seconds after ContentLoaded occurs, which is important for making the StateGenerator usable.

Also changed session create options showBrowser to showChrome and showBrowserInteractions to showChromeInteractions