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

HAR file recording #967

Merged
merged 1 commit into from
Mar 26, 2025
Merged

HAR file recording #967

merged 1 commit into from
Mar 26, 2025

Conversation

jlogtenberg
Copy link
Contributor

@jlogtenberg jlogtenberg commented Mar 7, 2025

These changes will allow for the recording of the HAR file (a JSON-formatted archive file format for logging of a web browser's interaction with a site) while the agent is running, along with specifying where this HAR file should be saved.

Added a save_har_path to class BrowserContextConfig to store the path where the HAR file should be saved.
Added record_har_path = self.config.save_har_path to context initialization to enable HAR file recording itself.

Solution for #966.

Added a variable to save the path where the HAR file should be saved to class BrowserContextConfig, and added the recording of the HAR file in the initialization of the context function.
@CLAassistant
Copy link

CLAassistant commented Mar 14, 2025

CLA assistant check
All committers have signed the CLA.

@pirate
Copy link
Member

pirate commented Mar 26, 2025

thanks!

@pirate pirate merged commit 344942f into browser-use:main Mar 26, 2025
1 check passed
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.

3 participants