Skip to content

Commit

Permalink
Merge pull request #337 from Chekote/patch-1
Browse files Browse the repository at this point in the history
Remove incorrect comment
  • Loading branch information
aik099 authored Sep 10, 2021
2 parents 394e6ad + 544d1a8 commit ce71134
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Selenium2Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,6 @@ public function setValue($xpath, $value)

if (in_array($elementName, array('input', 'textarea'))) {
$existingValueLength = strlen($element->attribute('value'));
// Add the TAB key to ensure we unfocus the field as browsers are triggering the change event only
// after leaving the field.
$value = str_repeat(Key::BACKSPACE . Key::DELETE, $existingValueLength) . $value;
}

Expand Down

0 comments on commit ce71134

Please sign in to comment.