ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-WebDriver/WebDriver.pm
(Generate patch)

Comparing AnyEvent-WebDriver/WebDriver.pm (file contents):
Revision 1.4 by root, Tue Aug 28 23:09:38 2018 UTC vs.
Revision 1.5 by root, Tue Aug 28 23:10:30 2018 UTC

276=item $timeouts = $wd->get_timeouts 276=item $timeouts = $wd->get_timeouts
277 277
278Get the current timeouts, e.g.: 278Get the current timeouts, e.g.:
279 279
280 my $timeouts = $wd->get_timeouts; 280 my $timeouts = $wd->get_timeouts;
281
282 # { implicit => 0, pageLoad => 300000, script => 30000 } 281 => { implicit => 0, pageLoad => 300000, script => 30000 }
283 282
284=item $wd->set_timeouts ($timeouts) 283=item $wd->set_timeouts ($timeouts)
285 284
286Sets one or more timeouts, e.g.: 285Sets one or more timeouts, e.g.:
287 286
426=item $rect = $wd->get_window_rect 425=item $rect = $wd->get_window_rect
427 426
428Return the current window rect, e.g.: 427Return the current window rect, e.g.:
429 428
430 $rect = $wd->get_window_rect 429 $rect = $wd->get_window_rect
431 # { height => 1040, width => 540, x => 0, y => 0 } 430 => { height => 1040, width => 540, x => 0, y => 0 }
432 431
433=item $wd->set_window_rect ($rect) 432=item $wd->set_window_rect ($rect)
434 433
435Sets the window rect. 434Sets the window rect.
436 435

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines