Browse Source

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

Charles Howes 12 years ago
parent
commit
338872f76d
1 changed files with 1 additions and 0 deletions
  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,
     };