We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fcbdd4 commit 087047aCopy full SHA for 087047a
README.md
@@ -194,8 +194,10 @@ The next calls to the script will read the uri from that file in order to connec
194
use \HeadlessChromium\BrowserFactory;
195
use \HeadlessChromium\Exception\BrowserConnectionFailed;
196
197
+$socketFile = '/tmp/chrome-php-demo-socket';
198
+
199
// path to the file to store websocket's uri
-$socket = \file_get_contents('/tmp/chrome-php-demo-socket');
200
+$socket = \file_get_contents($socketFile);
201
202
try {
203
$browser = BrowserFactory::connectToBrowser($socket);
0 commit comments