Skip to content

Commit

Permalink
Apply fix from SE2 driver
Browse files Browse the repository at this point in the history
  • Loading branch information
uuf6429 committed Nov 1, 2024
1 parent cdf3025 commit 70ff500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebdriverClassicDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public function getText(
string $xpath
): string {
return str_replace(
["\r", "\n"],
["\r\n", "\r", "\n"],
' ',
$this->getElementDomProperty($this->findElement($xpath), 'innerText')
);
Expand Down

0 comments on commit 70ff500

Please sign in to comment.