Skip to content

Commit 0673c6a

Browse files
authored
Remove pathToChromeBinary
1 parent 194c05c commit 0673c6a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Crawler.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ class Crawler
5454
/** @var bool */
5555
protected $executeJavaScript = false;
5656

57-
/** @var string|null */
58-
protected $pathToChromeBinary = null;
59-
6057
protected static $defaultClientOptions = [
6158
RequestOptions::COOKIES => true,
6259
RequestOptions::CONNECT_TIMEOUT => 10,
@@ -171,12 +168,10 @@ public function setCrawlQueue(CrawlQueue $crawlQueue)
171168
/**
172169
* @return $this
173170
*/
174-
public function executeJavaScript($pathToChromeBinary = null)
171+
public function executeJavaScript()
175172
{
176173
$this->executeJavaScript = true;
177174

178-
$this->pathToChromeBinary = $pathToChromeBinary;
179-
180175
return $this;
181176
}
182177

0 commit comments

Comments
 (0)