Sfoglia il codice sorgente

Merge pull request #451 from jamadam/document-typo

fix document typo
George S. Baugh 5 anni fa
parent
commit
ddc4ea3c97
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lib/Selenium/Remote/Driver.pm

+ 1 - 1
lib/Selenium/Remote/Driver.pm

@@ -1791,7 +1791,7 @@ sub get_window_handles {
 
  Usage:
     my $window_size = $driver->get_window_size();
-    print $window_size->{'height'}, $window_size->('width');
+    print $window_size->{'height'}, $window_size->{'width'};
 
 =cut