Skip to content

Commit 2ae0a66

Browse files
committed
partial revert a801a0b
1 parent 3e0e318 commit 2ae0a66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/WebDriver/Element.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,6 @@ public function shadow()
187187
*/
188188
protected function getIdentifierPath($identifier)
189189
{
190-
return preg_replace('~/' . preg_quote($this->id, '~') . '$~', $identifier, $this->url);
190+
return preg_replace('~/' . preg_quote($this->id, '~') . '$~', '/' . $identifier, $this->url);
191191
}
192192
}

0 commit comments

Comments
 (0)