{"repo":"SheikhAminul/browser-automator","free":true,"listed":false,"github":"https://github.com/SheikhAminul/browser-automator","clone":"git clone https://github.com/SheikhAminul/browser-automator.git","description":"Puppeteer alternative for Chrome extensions.","language":"TypeScript","stars":16,"topics":["browser","browser-automation","browser-extension","puppeteer","automated-testing","automation","chrome","web-scraping"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"browser-automator ================ Puppeteer alternative for Chrome extensions. Whether you are developing a Chrome extension or need to automate tasks in your favorite Chrome extension, browser-automator offers a Puppeteer-like experience tailored for Chrome extensions. It provides a simple and efficient way to interact with Chrome browser pages. It allows you to control the browser programmatically. Perfect for Chrome extension-based web scraping and automation purposes. Table of Contents Install Usage API Reference Contributing License Author Install Usage A minimal example to automate Goolge search: API Reference Namespace: automator A namespace that provides functions for launching the browser automation process. - launch(): Browser Launches a new Browser instance for browser automation. - Returns: A new Browser instance for browser automation. Class: Page Represents a Page instance for interacting with Chrome browser pages. Properties - tabId (number) - The ID of the Chrome tab. - windowId (number) - The ID of the Chrome window. - tryLimit (number) - The maximum number of attempts for waiting operations. Default: 50. - delay (number) - The delay between attempts in milliseconds. Default: 750. - onBeforeClose (Function) - Callback function to be executed before closing the page. Constructor #### constructor(options: { tabId: number; windowId: number }) Creates a new Page instance for a specific Chrome tab with the given tabId and windowId . - options (Object) - tabId (nu","default_branch":null,"files":null,"tree":[],"storefront":"/r/SheikhAminul","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SheikhAminul/browser-automator/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."}