Browse Source

fix document typo

sugama 5 years ago
parent
commit
b87d418ea2
1 changed files with 1 additions and 1 deletions
  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