https://github.com/diloabininyeri/chrome
It allows you to perform actions by communicating with chrome dev-tools, such as going to this site, taking data, taking a photo, opening a new tab or clicking this button.
https://github.com/diloabininyeri/chrome
chrome chrome-headless dev-tools php selenium webdriver websocket ws
Last synced: 3 months ago
JSON representation
It allows you to perform actions by communicating with chrome dev-tools, such as going to this site, taking data, taking a photo, opening a new tab or clicking this button.
- Host: GitHub
- URL: https://github.com/diloabininyeri/chrome
- Owner: diloabininyeri
- Created: 2025-03-25T07:23:53.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-25T07:33:32.000Z (7 months ago)
- Last Synced: 2025-03-25T08:32:21.103Z (7 months ago)
- Topics: chrome, chrome-headless, dev-tools, php, selenium, webdriver, websocket, ws
- Language: PHP
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.MD
Awesome Lists containing this project
README
## php chrome client for the Chrome dev tools
to start the chrome client
```console
google-chrome --headless --remote-debugging-port=9222 --remote-debugging-host=127.0.0.1 --no-sandbox --remote-allow-origins=*
``````php
getEventManager();$google = $chromeActionManager->openNewTab('https://www.google.com');
$response = $chromeActionManager->takeScreenshot(tabId: $google, imagePath: __DIR__ . '/google.png');
echo $response; ///home/zeus/PhpstormProjects/chrome/google.png
```
**development will continue**