Kaynağa Gözat

Fix a problem with data being sent as integers;
https://github.com/aivaturi/Selenium-Remote-Driver/issues/52

Charles Howes 12 yıl önce
ebeveyn
işleme
338872f76d
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      lib/Selenium/Remote/WebElement.pm

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

@@ -100,6 +100,7 @@ sub submit {
 sub send_keys {
     my ($self, @strings) = @_;
     my $res = { 'command' => 'sendKeysToElement', 'id' => $self->{id} };
+    map { $_ .= "" } @strings;
     my $params = {
         'value' => \@strings,
     };