We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e0e318 commit 2ae0a66Copy full SHA for 2ae0a66
1 file changed
lib/WebDriver/Element.php
@@ -187,6 +187,6 @@ public function shadow()
187
*/
188
protected function getIdentifierPath($identifier)
189
{
190
- return preg_replace('~/' . preg_quote($this->id, '~') . '$~', $identifier, $this->url);
+ return preg_replace('~/' . preg_quote($this->id, '~') . '$~', '/' . $identifier, $this->url);
191
}
192
0 commit comments