Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 6e012d2

Browse files
author
Greg Heitz
committed
fix param dns
1 parent 7d82acb commit 6e012d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BrowserMob.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected function __setProxyCapabilities($options)
9595
case 'timeouts':
9696
$this->_timeouts($data);
9797
break;
98-
case 'redirect':
98+
case 'dns':
9999
foreach ($data as $entry) {
100100
$this->_remapHosts($entry['domain'], $entry['ip']);
101101
}
@@ -141,7 +141,7 @@ public function startHar()
141141
return $this->response->success;
142142
}
143143

144-
public function startPage()
144+
public function addPage()
145145
{
146146
$this->_newPage();
147147
return $this->response->success;

0 commit comments

Comments
 (0)