An open API service indexing awesome lists of open source software.

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.

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**