瀏覽代碼

Bug fixed: Test::S::R::WebElement->send_keys_ok() was not sending any keys.

Eric Johnson 11 年之前
父節點
當前提交
1b7d6a4ab6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/Test/Selenium/Remote/WebElement.pm

+ 1 - 0
lib/Test/Selenium/Remote/WebElement.pm

@@ -33,6 +33,7 @@ sub has_args {
     my $fun_name      = shift;
     my $hash_fun_args = {
         'get_attribute' => 1,
+        send_keys       => 1,
     };
     return ( $hash_fun_args->{$fun_name} // 0 );
 }