From 544d1a8055859efa5d6e0e579b3cb4590bdb0589 Mon Sep 17 00:00:00 2001 From: Donald Tyler Date: Wed, 8 Sep 2021 12:38:48 -0500 Subject: [PATCH] Remove incorrect comment This comment is stating that the code is adding a tab key, but it is not. --- src/Selenium2Driver.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Selenium2Driver.php b/src/Selenium2Driver.php index 836b3453..5e7617fc 100755 --- a/src/Selenium2Driver.php +++ b/src/Selenium2Driver.php @@ -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; }