|
@@ -188,8 +188,8 @@ |
|
|
block discarded – undo |
|
188
|
188
|
} |
|
189
|
189
|
|
|
190
|
190
|
$selector = t($selector); |
|
191
|
|
- $element = $this->{'find' . $map[$locator]}($selector); |
|
192
|
|
- file_put_contents('behat.log', $this->getWorkingElement()->getOuterHtml() . '=========', FILE_APPEND); |
|
|
191
|
+ $element = $this->{'find'.$map[$locator]}($selector); |
|
|
192
|
+ file_put_contents('behat.log', $this->getWorkingElement()->getOuterHtml().'=========', FILE_APPEND); |
|
193
|
193
|
$this->throwNoSuchElementException($selector, $element); |
|
194
|
194
|
|
|
195
|
195
|
return $element; |
Please login to merge, or discard this patch.