Skip to content

Commit 544d1a8

Browse files
authored
Remove incorrect comment
This comment is stating that the code is adding a tab key, but it is not.
1 parent 394e6ad commit 544d1a8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/Selenium2Driver.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,8 +689,6 @@ public function setValue($xpath, $value)
689689

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

0 commit comments

Comments
 (0)