diff --git a/README.md b/README.md index 458802f..a9c731f 100644 --- a/README.md +++ b/README.md @@ -194,8 +194,10 @@ The next calls to the script will read the uri from that file in order to connec use \HeadlessChromium\BrowserFactory; use \HeadlessChromium\Exception\BrowserConnectionFailed; +$socketFile = '/tmp/chrome-php-demo-socket'; + // path to the file to store websocket's uri -$socket = \file_get_contents('/tmp/chrome-php-demo-socket'); +$socket = \file_get_contents($socketFile); try { $browser = BrowserFactory::connectToBrowser($socket);