{"repo":"webrecorder/browsertrix-behaviors","free":true,"listed":false,"github":"https://github.com/webrecorder/browsertrix-behaviors","clone":"git clone https://github.com/webrecorder/browsertrix-behaviors.git","description":"Automated behaviors that run in browser to interact with complex sites automatically. Used by ArchiveWeb.page and Browsertrix Crawler.","language":"TypeScript","stars":58,"topics":["browsertrix-behaviors","puppeteer","automation"],"license":"AGPL-3.0","category":"scrapers-browser-automation","readme_excerpt":"Browsertrix Behaviors Behavior Testing Results A set of behaviors injected into the browser to perform certain operations on a page, such as scrolling, fetching additional URLs, or performing customized actions for social-media sites. Additional information about behaviors and how they work can be found in the Browser Behaviors section of the Browsertrix Crawler documentation. For an extensive walkthrough of creating your own custom behaviors to use with Browsertrix and Browsertrix Crawler, follow the Tutorial. If you are looking for advice on how to create or use Browsertrix Behaviors there is a dedicated category for custom behaviors in the Webrecorder forum. Usage The behaviors are compiled into a single file, dist/behaviors.js , which can be injected into any modern browser to load the behavior system. No additional dependencies are required, and the behaviors file can be pasted directly into your browser. The file can injected in a number of ways, using tools like puppeteer/playwright, a browser extension content script, or even a devtools Snippet, or even a regular tag. Injecting the behaviors into the browser is outside the scope of this repo, but here are a few ways you can try the behaviors: Copy & Paste Behaviors (for testing) To test out the behaviors in your current browser, you can use Chrome's snippets feature to inject them into webpages. When setting up for the first time, or updating the script: 1. Build the behaviors: yarn run build-dev to build the dev buil","default_branch":null,"files":null,"tree":[],"storefront":"/r/webrecorder","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/webrecorder/browsertrix-behaviors/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}