You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To create a Chrome extension for recording arbitrary web apps, follow these steps based on the highlight/highlight codebase:
Extension Message Listener: Implement a message listener similar to /sdk/firstload/src/browserExtension/extensionListener.ts. Use chrome.runtime.onMessage to listen for messages from the content script and initiate or stop recording based on the message action.
Content Script Interaction: In your extension's UI, like in /experiments/chrome-extension/src/App.tsx, use chrome.tabs.sendMessage to communicate with the content script to start or stop recording.
Recording Configuration: Allow users to configure recording settings through the extension's popup UI, similar to the TabApp component in App.tsx.
WebSocket Recording: For recording WebSocket traffic, refer to the blog post /blog-content/web-socket-recording.md for insights on implementing WebSocket event recording in your extension.
These steps provide a foundation for building a Chrome extension capable of recording arbitrary web apps, leveraging the Highlight SDK and Chrome APIs.
No description provided.
The text was updated successfully, but these errors were encountered: