File Coverage

blib/lib/Playwright/Page.pm
Criterion Covered Total %
statement 9 275 3.2
branch n/a
condition n/a
subroutine 3 136 2.2
pod 132 133 99.2
total 144 544 26.4


line stmt bran cond sub pod time code
1             # ABSTRACT: Automatically generated class for Playwright::Page
2             # PODNAME: Playwright::Page
3              
4             # These classes used to be generated at runtime, but are now generated when the module is built.
5             # Don't send patches against these modules, they will be ignored.
6             # See generate_perl_modules.pl in the repository for generating this.
7              
8 1     1   8 use strict;
  1         2  
  1         43  
9 1     1   5 use warnings;
  1         2  
  1         102  
10              
11             package Playwright::Page;
12             $Playwright::Page::VERSION = '1.551';
13 1     1   8 use parent 'Playwright::Base';
  1         1  
  1         7  
14              
15             sub new {
16 0     0 1   my ( $self, %options ) = @_;
17 0           $options{type} = 'Page';
18 0           return $self->SUPER::new(%options);
19             }
20              
21             sub spec {
22 0     0 0   return $Playwright::spec->{'Page'}{members};
23             }
24              
25             sub waitForPopup {
26 0     0 1   my $self = shift;
27             return $self->_api_request(
28             args => [@_],
29             command => 'waitForPopup',
30             object => $self->{guid},
31             type => $self->{type}
32 0           );
33             }
34              
35             sub waitForWorker {
36 0     0 1   my $self = shift;
37             return $self->_api_request(
38             args => [@_],
39             command => 'waitForWorker',
40             object => $self->{guid},
41             type => $self->{type}
42 0           );
43             }
44              
45             sub fileChooser {
46 0     0 1   my $self = shift;
47             return $self->_api_request(
48             args => [@_],
49             command => 'fileChooser',
50             object => $self->{guid},
51             type => $self->{type}
52 0           );
53             }
54              
55             sub isDisabled {
56 0     0 1   my $self = shift;
57             return $self->_api_request(
58             args => [@_],
59             command => 'isDisabled',
60             object => $self->{guid},
61             type => $self->{type}
62 0           );
63             }
64              
65             sub exposeFunction {
66 0     0 1   my $self = shift;
67             return $self->_api_request(
68             args => [@_],
69             command => 'exposeFunction',
70             object => $self->{guid},
71             type => $self->{type}
72 0           );
73             }
74              
75             sub reload {
76 0     0 1   my $self = shift;
77             return $self->_api_request(
78             args => [@_],
79             command => 'reload',
80             object => $self->{guid},
81             type => $self->{type}
82 0           );
83             }
84              
85             sub requestGC {
86 0     0 1   my $self = shift;
87             return $self->_api_request(
88             args => [@_],
89             command => 'requestGC',
90             object => $self->{guid},
91             type => $self->{type}
92 0           );
93             }
94              
95             sub click {
96 0     0 1   my $self = shift;
97             return $self->_api_request(
98             args => [@_],
99             command => 'click',
100             object => $self->{guid},
101             type => $self->{type}
102 0           );
103             }
104              
105             sub isVisible {
106 0     0 1   my $self = shift;
107             return $self->_api_request(
108             args => [@_],
109             command => 'isVisible',
110             object => $self->{guid},
111             type => $self->{type}
112 0           );
113             }
114              
115             sub requests {
116 0     0 1   my $self = shift;
117             return $self->_api_request(
118             args => [@_],
119             command => 'requests',
120             object => $self->{guid},
121             type => $self->{type}
122 0           );
123             }
124              
125             sub addScriptTag {
126 0     0 1   my $self = shift;
127             return $self->_api_request(
128             args => [@_],
129             command => 'addScriptTag',
130             object => $self->{guid},
131             type => $self->{type}
132 0           );
133             }
134              
135             sub waitForFunction {
136 0     0 1   my $self = shift;
137             return $self->_api_request(
138             args => [@_],
139             command => 'waitForFunction',
140             object => $self->{guid},
141             type => $self->{type}
142 0           );
143             }
144              
145             sub eval {
146 0     0 1   my $self = shift;
147             return $self->_api_request(
148             args => [@_],
149             command => '$eval',
150             object => $self->{guid},
151             type => $self->{type}
152 0           );
153             }
154              
155             sub coverage {
156 0     0 1   my $self = shift;
157             return $self->_api_request(
158             args => [@_],
159             command => 'coverage',
160             object => $self->{guid},
161             type => $self->{type}
162 0           );
163             }
164              
165             sub waitForEvent {
166 0     0 1   my $self = shift;
167             return $self->_api_request(
168             args => [@_],
169             command => 'waitForEvent',
170             object => $self->{guid},
171             type => $self->{type}
172 0           );
173             }
174              
175             sub innerHTML {
176 0     0 1   my $self = shift;
177             return $self->_api_request(
178             args => [@_],
179             command => 'innerHTML',
180             object => $self->{guid},
181             type => $self->{type}
182 0           );
183             }
184              
185             sub frameByUrl {
186 0     0 1   my $self = shift;
187             return $self->_api_request(
188             args => [@_],
189             command => 'frameByUrl',
190             object => $self->{guid},
191             type => $self->{type}
192 0           );
193             }
194              
195             sub selectOption {
196 0     0 1   my $self = shift;
197             return $self->_api_request(
198             args => [@_],
199             command => 'selectOption',
200             object => $self->{guid},
201             type => $self->{type}
202 0           );
203             }
204              
205             sub pause {
206 0     0 1   my $self = shift;
207             return $self->_api_request(
208             args => [@_],
209             command => 'pause',
210             object => $self->{guid},
211             type => $self->{type}
212 0           );
213             }
214              
215             sub setViewportSize {
216 0     0 1   my $self = shift;
217             return $self->_api_request(
218             args => [@_],
219             command => 'setViewportSize',
220             object => $self->{guid},
221             type => $self->{type}
222 0           );
223             }
224              
225             sub removeLocatorHandler {
226 0     0 1   my $self = shift;
227             return $self->_api_request(
228             args => [@_],
229             command => 'removeLocatorHandler',
230             object => $self->{guid},
231             type => $self->{type}
232 0           );
233             }
234              
235             sub selectMulti {
236 0     0 1   my $self = shift;
237             return $self->_api_request(
238             args => [@_],
239             command => '$$',
240             object => $self->{guid},
241             type => $self->{type}
242 0           );
243             }
244              
245             sub requestFinished {
246 0     0 1   my $self = shift;
247             return $self->_api_request(
248             args => [@_],
249             command => 'requestFinished',
250             object => $self->{guid},
251             type => $self->{type}
252 0           );
253             }
254              
255             sub waitForNavigation {
256 0     0 1   my $self = shift;
257             return $self->_api_request(
258             args => [@_],
259             command => 'waitForNavigation',
260             object => $self->{guid},
261             type => $self->{type}
262 0           );
263             }
264              
265             sub locator {
266 0     0 1   my $self = shift;
267             return $self->_api_request(
268             args => [@_],
269             command => 'locator',
270             object => $self->{guid},
271             type => $self->{type}
272 0           );
273             }
274              
275             sub check {
276 0     0 1   my $self = shift;
277             return $self->_api_request(
278             args => [@_],
279             command => 'check',
280             object => $self->{guid},
281             type => $self->{type}
282 0           );
283             }
284              
285             sub webSocket {
286 0     0 1   my $self = shift;
287             return $self->_api_request(
288             args => [@_],
289             command => 'webSocket',
290             object => $self->{guid},
291             type => $self->{type}
292 0           );
293             }
294              
295             sub frames {
296 0     0 1   my $self = shift;
297             return $self->_api_request(
298             args => [@_],
299             command => 'frames',
300             object => $self->{guid},
301             type => $self->{type}
302 0           );
303             }
304              
305             sub select {
306 0     0 1   my $self = shift;
307             return $self->_api_request(
308             args => [@_],
309             command => '$',
310             object => $self->{guid},
311             type => $self->{type}
312 0           );
313             }
314              
315             sub evalMulti {
316 0     0 1   my $self = shift;
317             return $self->_api_request(
318             args => [@_],
319             command => '$$eval',
320             object => $self->{guid},
321             type => $self->{type}
322 0           );
323             }
324              
325             sub context {
326 0     0 1   my $self = shift;
327             return $self->_api_request(
328             args => [@_],
329             command => 'context',
330             object => $self->{guid},
331             type => $self->{type}
332 0           );
333             }
334              
335             sub clock {
336 0     0 1   my $self = shift;
337             return $self->_api_request(
338             args => [@_],
339             command => 'clock',
340             object => $self->{guid},
341             type => $self->{type}
342 0           );
343             }
344              
345             sub setChecked {
346 0     0 1   my $self = shift;
347             return $self->_api_request(
348             args => [@_],
349             command => 'setChecked',
350             object => $self->{guid},
351             type => $self->{type}
352 0           );
353             }
354              
355             sub screenshot {
356 0     0 1   my $self = shift;
357             return $self->_api_request(
358             args => [@_],
359             command => 'screenshot',
360             object => $self->{guid},
361             type => $self->{type}
362 0           );
363             }
364              
365             sub crash {
366 0     0 1   my $self = shift;
367             return $self->_api_request(
368             args => [@_],
369             command => 'crash',
370             object => $self->{guid},
371             type => $self->{type}
372 0           );
373             }
374              
375             sub mouse {
376 0     0 1   my ($self) = @_;
377             return Playwright::Mouse->new(
378             handle => $self,
379             parent => $self,
380             id => $self->{guid},
381 0           );
382             }
383              
384             sub innerText {
385 0     0 1   my $self = shift;
386             return $self->_api_request(
387             args => [@_],
388             command => 'innerText',
389             object => $self->{guid},
390             type => $self->{type}
391 0           );
392             }
393              
394             sub opener {
395 0     0 1   my $self = shift;
396             return $self->_api_request(
397             args => [@_],
398             command => 'opener',
399             object => $self->{guid},
400             type => $self->{type}
401 0           );
402             }
403              
404             sub inputValue {
405 0     0 1   my $self = shift;
406             return $self->_api_request(
407             args => [@_],
408             command => 'inputValue',
409             object => $self->{guid},
410             type => $self->{type}
411 0           );
412             }
413              
414             sub focus {
415 0     0 1   my $self = shift;
416             return $self->_api_request(
417             args => [@_],
418             command => 'focus',
419             object => $self->{guid},
420             type => $self->{type}
421 0           );
422             }
423              
424             sub route {
425 0     0 1   my $self = shift;
426             return $self->_api_request(
427             args => [@_],
428             command => 'route',
429             object => $self->{guid},
430             type => $self->{type}
431 0           );
432             }
433              
434             sub isHidden {
435 0     0 1   my $self = shift;
436             return $self->_api_request(
437             args => [@_],
438             command => 'isHidden',
439             object => $self->{guid},
440             type => $self->{type}
441 0           );
442             }
443              
444             sub DOMContentLoaded {
445 0     0 1   my $self = shift;
446             return $self->_api_request(
447             args => [@_],
448             command => 'DOMContentLoaded',
449             object => $self->{guid},
450             type => $self->{type}
451 0           );
452             }
453              
454             sub frameDetached {
455 0     0 1   my $self = shift;
456             return $self->_api_request(
457             args => [@_],
458             command => 'frameDetached',
459             object => $self->{guid},
460             type => $self->{type}
461 0           );
462             }
463              
464             sub getByTitle {
465 0     0 1   my $self = shift;
466             return $self->_api_request(
467             args => [@_],
468             command => 'getByTitle',
469             object => $self->{guid},
470             type => $self->{type}
471 0           );
472             }
473              
474             sub pageErrors {
475 0     0 1   my $self = shift;
476             return $self->_api_request(
477             args => [@_],
478             command => 'pageErrors',
479             object => $self->{guid},
480             type => $self->{type}
481 0           );
482             }
483              
484             sub waitForEvent2 {
485 0     0 1   my $self = shift;
486             return $self->_api_request(
487             args => [@_],
488             command => 'waitForEvent2',
489             object => $self->{guid},
490             type => $self->{type}
491 0           );
492             }
493              
494             sub frameLocator {
495 0     0 1   my $self = shift;
496             return $self->_api_request(
497             args => [@_],
498             command => 'frameLocator',
499             object => $self->{guid},
500             type => $self->{type}
501 0           );
502             }
503              
504             sub response {
505 0     0 1   my $self = shift;
506             return $self->_api_request(
507             args => [@_],
508             command => 'response',
509             object => $self->{guid},
510             type => $self->{type}
511 0           );
512             }
513              
514             sub consoleMessages {
515 0     0 1   my $self = shift;
516             return $self->_api_request(
517             args => [@_],
518             command => 'consoleMessages',
519             object => $self->{guid},
520             type => $self->{type}
521 0           );
522             }
523              
524             sub download {
525 0     0 1   my $self = shift;
526             return $self->_api_request(
527             args => [@_],
528             command => 'download',
529             object => $self->{guid},
530             type => $self->{type}
531 0           );
532             }
533              
534             sub uncheck {
535 0     0 1   my $self = shift;
536             return $self->_api_request(
537             args => [@_],
538             command => 'uncheck',
539             object => $self->{guid},
540             type => $self->{type}
541 0           );
542             }
543              
544             sub addInitScript {
545 0     0 1   my $self = shift;
546             return $self->_api_request(
547             args => [@_],
548             command => 'addInitScript',
549             object => $self->{guid},
550             type => $self->{type}
551 0           );
552             }
553              
554             sub title {
555 0     0 1   my $self = shift;
556             return $self->_api_request(
557             args => [@_],
558             command => 'title',
559             object => $self->{guid},
560             type => $self->{type}
561 0           );
562             }
563              
564             sub requestFailed {
565 0     0 1   my $self = shift;
566             return $self->_api_request(
567             args => [@_],
568             command => 'requestFailed',
569             object => $self->{guid},
570             type => $self->{type}
571 0           );
572             }
573              
574             sub viewportSize {
575 0     0 1   my $self = shift;
576             return $self->_api_request(
577             args => [@_],
578             command => 'viewportSize',
579             object => $self->{guid},
580             type => $self->{type}
581 0           );
582             }
583              
584             sub getByText {
585 0     0 1   my $self = shift;
586             return $self->_api_request(
587             args => [@_],
588             command => 'getByText',
589             object => $self->{guid},
590             type => $self->{type}
591 0           );
592             }
593              
594             sub type {
595 0     0 1   my $self = shift;
596             return $self->_api_request(
597             args => [@_],
598             command => 'type',
599             object => $self->{guid},
600             type => $self->{type}
601 0           );
602             }
603              
604             sub keyboard {
605 0     0 1   my ($self) = @_;
606             return Playwright::Keyboard->new(
607             handle => $self,
608             parent => $self,
609             id => $self->{guid},
610 0           );
611             }
612              
613             sub routeFromHAR {
614 0     0 1   my $self = shift;
615             return $self->_api_request(
616             args => [@_],
617             command => 'routeFromHAR',
618             object => $self->{guid},
619             type => $self->{type}
620 0           );
621             }
622              
623             sub close {
624 0     0 1   my $self = shift;
625             return $self->_api_request(
626             args => [@_],
627             command => 'close',
628             object => $self->{guid},
629             type => $self->{type}
630 0           );
631             }
632              
633             sub bringToFront {
634 0     0 1   my $self = shift;
635             return $self->_api_request(
636             args => [@_],
637             command => 'bringToFront',
638             object => $self->{guid},
639             type => $self->{type}
640 0           );
641             }
642              
643             sub tap {
644 0     0 1   my $self = shift;
645             return $self->_api_request(
646             args => [@_],
647             command => 'tap',
648             object => $self->{guid},
649             type => $self->{type}
650 0           );
651             }
652              
653             sub waitForSelector {
654 0     0 1   my $self = shift;
655             return $self->_api_request(
656             args => [@_],
657             command => 'waitForSelector',
658             object => $self->{guid},
659             type => $self->{type}
660 0           );
661             }
662              
663             sub removeAllListeners {
664 0     0 1   my $self = shift;
665             return $self->_api_request(
666             args => [@_],
667             command => 'removeAllListeners',
668             object => $self->{guid},
669             type => $self->{type}
670 0           );
671             }
672              
673             sub frame {
674 0     0 1   my $self = shift;
675             return $self->_api_request(
676             args => [@_],
677             command => 'frame',
678             object => $self->{guid},
679             type => $self->{type}
680 0           );
681             }
682              
683             sub textContent {
684 0     0 1   my $self = shift;
685             return $self->_api_request(
686             args => [@_],
687             command => 'textContent',
688             object => $self->{guid},
689             type => $self->{type}
690 0           );
691             }
692              
693             sub waitForCondition {
694 0     0 1   my $self = shift;
695             return $self->_api_request(
696             args => [@_],
697             command => 'waitForCondition',
698             object => $self->{guid},
699             type => $self->{type}
700 0           );
701             }
702              
703             sub request {
704 0     0 1   my $self = shift;
705             return $self->_api_request(
706             args => [@_],
707             command => 'request',
708             object => $self->{guid},
709             type => $self->{type}
710 0           );
711             }
712              
713             sub evaluate {
714 0     0 1   my $self = shift;
715             return $self->_api_request(
716             args => [@_],
717             command => 'evaluate',
718             object => $self->{guid},
719             type => $self->{type}
720 0           );
721             }
722              
723             sub workers {
724 0     0 1   my $self = shift;
725             return $self->_api_request(
726             args => [@_],
727             command => 'workers',
728             object => $self->{guid},
729             type => $self->{type}
730 0           );
731             }
732              
733             sub waitForRequest {
734 0     0 1   my $self = shift;
735             return $self->_api_request(
736             args => [@_],
737             command => 'waitForRequest',
738             object => $self->{guid},
739             type => $self->{type}
740 0           );
741             }
742              
743             sub frameAttached {
744 0     0 1   my $self = shift;
745             return $self->_api_request(
746             args => [@_],
747             command => 'frameAttached',
748             object => $self->{guid},
749             type => $self->{type}
750 0           );
751             }
752              
753             sub waitForLoadState {
754 0     0 1   my $self = shift;
755             return $self->_api_request(
756             args => [@_],
757             command => 'waitForLoadState',
758             object => $self->{guid},
759             type => $self->{type}
760 0           );
761             }
762              
763             sub onceDialog {
764 0     0 1   my $self = shift;
765             return $self->_api_request(
766             args => [@_],
767             command => 'onceDialog',
768             object => $self->{guid},
769             type => $self->{type}
770 0           );
771             }
772              
773             sub unroute {
774 0     0 1   my $self = shift;
775             return $self->_api_request(
776             args => [@_],
777             command => 'unroute',
778             object => $self->{guid},
779             type => $self->{type}
780 0           );
781             }
782              
783             sub isClosed {
784 0     0 1   my $self = shift;
785             return $self->_api_request(
786             args => [@_],
787             command => 'isClosed',
788             object => $self->{guid},
789             type => $self->{type}
790 0           );
791             }
792              
793             sub waitForClose {
794 0     0 1   my $self = shift;
795             return $self->_api_request(
796             args => [@_],
797             command => 'waitForClose',
798             object => $self->{guid},
799             type => $self->{type}
800 0           );
801             }
802              
803             sub setDefaultTimeout {
804 0     0 1   my $self = shift;
805             return $self->_api_request(
806             args => [@_],
807             command => 'setDefaultTimeout',
808             object => $self->{guid},
809             type => $self->{type}
810 0           );
811             }
812              
813             sub frameNavigated {
814 0     0 1   my $self = shift;
815             return $self->_api_request(
816             args => [@_],
817             command => 'frameNavigated',
818             object => $self->{guid},
819             type => $self->{type}
820 0           );
821             }
822              
823             sub url {
824 0     0 1   my $self = shift;
825             return $self->_api_request(
826             args => [@_],
827             command => 'url',
828             object => $self->{guid},
829             type => $self->{type}
830 0           );
831             }
832              
833             sub press {
834 0     0 1   my $self = shift;
835             return $self->_api_request(
836             args => [@_],
837             command => 'press',
838             object => $self->{guid},
839             type => $self->{type}
840 0           );
841             }
842              
843             sub dialog {
844 0     0 1   my $self = shift;
845             return $self->_api_request(
846             args => [@_],
847             command => 'dialog',
848             object => $self->{guid},
849             type => $self->{type}
850 0           );
851             }
852              
853             sub getByTestId {
854 0     0 1   my $self = shift;
855             return $self->_api_request(
856             args => [@_],
857             command => 'getByTestId',
858             object => $self->{guid},
859             type => $self->{type}
860 0           );
861             }
862              
863             sub popup {
864 0     0 1   my $self = shift;
865             return $self->_api_request(
866             args => [@_],
867             command => 'popup',
868             object => $self->{guid},
869             type => $self->{type}
870 0           );
871             }
872              
873             sub waitForConsoleMessage {
874 0     0 1   my $self = shift;
875             return $self->_api_request(
876             args => [@_],
877             command => 'waitForConsoleMessage',
878             object => $self->{guid},
879             type => $self->{type}
880 0           );
881             }
882              
883             sub console {
884 0     0 1   my $self = shift;
885             return $self->_api_request(
886             args => [@_],
887             command => 'console',
888             object => $self->{guid},
889             type => $self->{type}
890 0           );
891             }
892              
893             sub pdf {
894 0     0 1   my $self = shift;
895             return $self->_api_request(
896             args => [@_],
897             command => 'pdf',
898             object => $self->{guid},
899             type => $self->{type}
900 0           );
901             }
902              
903             sub waitForDownload {
904 0     0 1   my $self = shift;
905             return $self->_api_request(
906             args => [@_],
907             command => 'waitForDownload',
908             object => $self->{guid},
909             type => $self->{type}
910 0           );
911             }
912              
913             sub worker {
914 0     0 1   my $self = shift;
915             return $self->_api_request(
916             args => [@_],
917             command => 'worker',
918             object => $self->{guid},
919             type => $self->{type}
920 0           );
921             }
922              
923             sub mainFrame {
924 0     0 1   my $self = shift;
925             return $self->_api_request(
926             args => [@_],
927             command => 'mainFrame',
928             object => $self->{guid},
929             type => $self->{type}
930 0           );
931             }
932              
933             sub waitForURL {
934 0     0 1   my $self = shift;
935             return $self->_api_request(
936             args => [@_],
937             command => 'waitForURL',
938             object => $self->{guid},
939             type => $self->{type}
940 0           );
941             }
942              
943             sub routeWebSocket {
944 0     0 1   my $self = shift;
945             return $self->_api_request(
946             args => [@_],
947             command => 'routeWebSocket',
948             object => $self->{guid},
949             type => $self->{type}
950 0           );
951             }
952              
953             sub addLocatorHandler {
954 0     0 1   my $self = shift;
955             return $self->_api_request(
956             args => [@_],
957             command => 'addLocatorHandler',
958             object => $self->{guid},
959             type => $self->{type}
960 0           );
961             }
962              
963             sub content {
964 0     0 1   my $self = shift;
965             return $self->_api_request(
966             args => [@_],
967             command => 'content',
968             object => $self->{guid},
969             type => $self->{type}
970 0           );
971             }
972              
973             sub touchscreen {
974 0     0 1   my $self = shift;
975             return $self->_api_request(
976             args => [@_],
977             command => 'touchscreen',
978             object => $self->{guid},
979             type => $self->{type}
980 0           );
981             }
982              
983             sub isChecked {
984 0     0 1   my $self = shift;
985             return $self->_api_request(
986             args => [@_],
987             command => 'isChecked',
988             object => $self->{guid},
989             type => $self->{type}
990 0           );
991             }
992              
993             sub waitForTimeout {
994 0     0 1   my $self = shift;
995             return $self->_api_request(
996             args => [@_],
997             command => 'waitForTimeout',
998             object => $self->{guid},
999             type => $self->{type}
1000 0           );
1001             }
1002              
1003             sub accessibility {
1004 0     0 1   my $self = shift;
1005             return $self->_api_request(
1006             args => [@_],
1007             command => 'accessibility',
1008             object => $self->{guid},
1009             type => $self->{type}
1010 0           );
1011             }
1012              
1013             sub exposeBinding {
1014 0     0 1   my $self = shift;
1015             return $self->_api_request(
1016             args => [@_],
1017             command => 'exposeBinding',
1018             object => $self->{guid},
1019             type => $self->{type}
1020 0           );
1021             }
1022              
1023             sub dispatchEvent {
1024 0     0 1   my $self = shift;
1025             return $self->_api_request(
1026             args => [@_],
1027             command => 'dispatchEvent',
1028             object => $self->{guid},
1029             type => $self->{type}
1030 0           );
1031             }
1032              
1033             sub setExtraHTTPHeaders {
1034 0     0 1   my $self = shift;
1035             return $self->_api_request(
1036             args => [@_],
1037             command => 'setExtraHTTPHeaders',
1038             object => $self->{guid},
1039             type => $self->{type}
1040 0           );
1041             }
1042              
1043             sub load {
1044 0     0 1   my $self = shift;
1045             return $self->_api_request(
1046             args => [@_],
1047             command => 'load',
1048             object => $self->{guid},
1049             type => $self->{type}
1050 0           );
1051             }
1052              
1053             sub waitForFileChooser {
1054 0     0 1   my $self = shift;
1055             return $self->_api_request(
1056             args => [@_],
1057             command => 'waitForFileChooser',
1058             object => $self->{guid},
1059             type => $self->{type}
1060 0           );
1061             }
1062              
1063             sub video {
1064 0     0 1   my $self = shift;
1065             return $self->_api_request(
1066             args => [@_],
1067             command => 'video',
1068             object => $self->{guid},
1069             type => $self->{type}
1070 0           );
1071             }
1072              
1073             sub isEnabled {
1074 0     0 1   my $self = shift;
1075             return $self->_api_request(
1076             args => [@_],
1077             command => 'isEnabled',
1078             object => $self->{guid},
1079             type => $self->{type}
1080 0           );
1081             }
1082              
1083             sub goto {
1084 0     0 1   my $self = shift;
1085             return $self->_api_request(
1086             args => [@_],
1087             command => 'goto',
1088             object => $self->{guid},
1089             type => $self->{type}
1090 0           );
1091             }
1092              
1093             sub getAttribute {
1094 0     0 1   my $self = shift;
1095             return $self->_api_request(
1096             args => [@_],
1097             command => 'getAttribute',
1098             object => $self->{guid},
1099             type => $self->{type}
1100 0           );
1101             }
1102              
1103             sub hover {
1104 0     0 1   my $self = shift;
1105             return $self->_api_request(
1106             args => [@_],
1107             command => 'hover',
1108             object => $self->{guid},
1109             type => $self->{type}
1110 0           );
1111             }
1112              
1113             sub getByRole {
1114 0     0 1   my $self = shift;
1115             return $self->_api_request(
1116             args => [@_],
1117             command => 'getByRole',
1118             object => $self->{guid},
1119             type => $self->{type}
1120 0           );
1121             }
1122              
1123             sub addStyleTag {
1124 0     0 1   my $self = shift;
1125             return $self->_api_request(
1126             args => [@_],
1127             command => 'addStyleTag',
1128             object => $self->{guid},
1129             type => $self->{type}
1130 0           );
1131             }
1132              
1133             sub getByPlaceholder {
1134 0     0 1   my $self = shift;
1135             return $self->_api_request(
1136             args => [@_],
1137             command => 'getByPlaceholder',
1138             object => $self->{guid},
1139             type => $self->{type}
1140 0           );
1141             }
1142              
1143             sub dblclick {
1144 0     0 1   my $self = shift;
1145             return $self->_api_request(
1146             args => [@_],
1147             command => 'dblclick',
1148             object => $self->{guid},
1149             type => $self->{type}
1150 0           );
1151             }
1152              
1153             sub waitForResponse {
1154 0     0 1   my $self = shift;
1155             return $self->_api_request(
1156             args => [@_],
1157             command => 'waitForResponse',
1158             object => $self->{guid},
1159             type => $self->{type}
1160 0           );
1161             }
1162              
1163             sub goForward {
1164 0     0 1   my $self = shift;
1165             return $self->_api_request(
1166             args => [@_],
1167             command => 'goForward',
1168             object => $self->{guid},
1169             type => $self->{type}
1170 0           );
1171             }
1172              
1173             sub emulateMedia {
1174 0     0 1   my $self = shift;
1175             return $self->_api_request(
1176             args => [@_],
1177             command => 'emulateMedia',
1178             object => $self->{guid},
1179             type => $self->{type}
1180 0           );
1181             }
1182              
1183             sub isEditable {
1184 0     0 1   my $self = shift;
1185             return $self->_api_request(
1186             args => [@_],
1187             command => 'isEditable',
1188             object => $self->{guid},
1189             type => $self->{type}
1190 0           );
1191             }
1192              
1193             sub getByLabel {
1194 0     0 1   my $self = shift;
1195             return $self->_api_request(
1196             args => [@_],
1197             command => 'getByLabel',
1198             object => $self->{guid},
1199             type => $self->{type}
1200 0           );
1201             }
1202              
1203             sub dragAndDrop {
1204 0     0 1   my $self = shift;
1205             return $self->_api_request(
1206             args => [@_],
1207             command => 'dragAndDrop',
1208             object => $self->{guid},
1209             type => $self->{type}
1210 0           );
1211             }
1212              
1213             sub setContent {
1214 0     0 1   my $self = shift;
1215             return $self->_api_request(
1216             args => [@_],
1217             command => 'setContent',
1218             object => $self->{guid},
1219             type => $self->{type}
1220 0           );
1221             }
1222              
1223             sub unrouteAll {
1224 0     0 1   my $self = shift;
1225             return $self->_api_request(
1226             args => [@_],
1227             command => 'unrouteAll',
1228             object => $self->{guid},
1229             type => $self->{type}
1230 0           );
1231             }
1232              
1233             sub getByAltText {
1234 0     0 1   my $self = shift;
1235             return $self->_api_request(
1236             args => [@_],
1237             command => 'getByAltText',
1238             object => $self->{guid},
1239             type => $self->{type}
1240 0           );
1241             }
1242              
1243             sub waitForWebSocket {
1244 0     0 1   my $self = shift;
1245             return $self->_api_request(
1246             args => [@_],
1247             command => 'waitForWebSocket',
1248             object => $self->{guid},
1249             type => $self->{type}
1250 0           );
1251             }
1252              
1253             sub setInputFiles {
1254 0     0 1   my $self = shift;
1255             return $self->_api_request(
1256             args => [@_],
1257             command => 'setInputFiles',
1258             object => $self->{guid},
1259             type => $self->{type}
1260 0           );
1261             }
1262              
1263             sub pageError {
1264 0     0 1   my $self = shift;
1265             return $self->_api_request(
1266             args => [@_],
1267             command => 'pageError',
1268             object => $self->{guid},
1269             type => $self->{type}
1270 0           );
1271             }
1272              
1273             sub waitForRequestFinished {
1274 0     0 1   my $self = shift;
1275             return $self->_api_request(
1276             args => [@_],
1277             command => 'waitForRequestFinished',
1278             object => $self->{guid},
1279             type => $self->{type}
1280 0           );
1281             }
1282              
1283             sub goBack {
1284 0     0 1   my $self = shift;
1285             return $self->_api_request(
1286             args => [@_],
1287             command => 'goBack',
1288             object => $self->{guid},
1289             type => $self->{type}
1290 0           );
1291             }
1292              
1293             sub evaluateHandle {
1294 0     0 1   my $self = shift;
1295             return $self->_api_request(
1296             args => [@_],
1297             command => 'evaluateHandle',
1298             object => $self->{guid},
1299             type => $self->{type}
1300 0           );
1301             }
1302              
1303             sub setDefaultNavigationTimeout {
1304 0     0 1   my $self = shift;
1305             return $self->_api_request(
1306             args => [@_],
1307             command => 'setDefaultNavigationTimeout',
1308             object => $self->{guid},
1309             type => $self->{type}
1310 0           );
1311             }
1312              
1313             sub fill {
1314 0     0 1   my $self = shift;
1315             return $self->_api_request(
1316             args => [@_],
1317             command => 'fill',
1318             object => $self->{guid},
1319             type => $self->{type}
1320 0           );
1321             }
1322              
1323             sub on {
1324 0     0 1   my $self = shift;
1325             return $self->_api_request(
1326             args => [@_],
1327             command => 'on',
1328             object => $self->{guid},
1329             type => $self->{type}
1330 0           );
1331             }
1332              
1333             1;
1334              
1335             __END__