File Coverage

blib/lib/Playwright/Frame.pm
Criterion Covered Total %
statement 9 135 6.6
branch n/a
condition n/a
subroutine 3 66 4.5
pod 62 63 98.4
total 74 264 28.0


line stmt bran cond sub pod time code
1             # ABSTRACT: Automatically generated class for Playwright::Frame
2             # PODNAME: Playwright::Frame
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         44  
9 1     1   6 use warnings;
  1         102  
  1         96  
10              
11             package Playwright::Frame;
12             $Playwright::Frame::VERSION = '1.551';
13 1     1   9 use parent 'Playwright::Base';
  1         3  
  1         7  
14              
15             sub new {
16 0     0 1   my ( $self, %options ) = @_;
17 0           $options{type} = 'Frame';
18 0           return $self->SUPER::new(%options);
19             }
20              
21             sub spec {
22 0     0 0   return $Playwright::spec->{'Frame'}{members};
23             }
24              
25             sub press {
26 0     0 1   my $self = shift;
27             return $self->_api_request(
28             args => [@_],
29             command => 'press',
30             object => $self->{guid},
31             type => $self->{type}
32 0           );
33             }
34              
35             sub selectMulti {
36 0     0 1   my $self = shift;
37             return $self->_api_request(
38             args => [@_],
39             command => '$$',
40             object => $self->{guid},
41             type => $self->{type}
42 0           );
43             }
44              
45             sub getByTestId {
46 0     0 1   my $self = shift;
47             return $self->_api_request(
48             args => [@_],
49             command => 'getByTestId',
50             object => $self->{guid},
51             type => $self->{type}
52 0           );
53             }
54              
55             sub selectOption {
56 0     0 1   my $self = shift;
57             return $self->_api_request(
58             args => [@_],
59             command => 'selectOption',
60             object => $self->{guid},
61             type => $self->{type}
62 0           );
63             }
64              
65             sub url {
66 0     0 1   my $self = shift;
67             return $self->_api_request(
68             args => [@_],
69             command => 'url',
70             object => $self->{guid},
71             type => $self->{type}
72 0           );
73             }
74              
75             sub name {
76 0     0 1   my $self = shift;
77             return $self->_api_request(
78             args => [@_],
79             command => 'name',
80             object => $self->{guid},
81             type => $self->{type}
82 0           );
83             }
84              
85             sub innerHTML {
86 0     0 1   my $self = shift;
87             return $self->_api_request(
88             args => [@_],
89             command => 'innerHTML',
90             object => $self->{guid},
91             type => $self->{type}
92 0           );
93             }
94              
95             sub isVisible {
96 0     0 1   my $self = shift;
97             return $self->_api_request(
98             args => [@_],
99             command => 'isVisible',
100             object => $self->{guid},
101             type => $self->{type}
102 0           );
103             }
104              
105             sub click {
106 0     0 1   my $self = shift;
107             return $self->_api_request(
108             args => [@_],
109             command => 'click',
110             object => $self->{guid},
111             type => $self->{type}
112 0           );
113             }
114              
115             sub eval {
116 0     0 1   my $self = shift;
117             return $self->_api_request(
118             args => [@_],
119             command => '$eval',
120             object => $self->{guid},
121             type => $self->{type}
122 0           );
123             }
124              
125             sub waitForFunction {
126 0     0 1   my $self = shift;
127             return $self->_api_request(
128             args => [@_],
129             command => 'waitForFunction',
130             object => $self->{guid},
131             type => $self->{type}
132 0           );
133             }
134              
135             sub waitForLoadState {
136 0     0 1   my $self = shift;
137             return $self->_api_request(
138             args => [@_],
139             command => 'waitForLoadState',
140             object => $self->{guid},
141             type => $self->{type}
142 0           );
143             }
144              
145             sub addScriptTag {
146 0     0 1   my $self = shift;
147             return $self->_api_request(
148             args => [@_],
149             command => 'addScriptTag',
150             object => $self->{guid},
151             type => $self->{type}
152 0           );
153             }
154              
155             sub page {
156 0     0 1   my $self = shift;
157             return $self->_api_request(
158             args => [@_],
159             command => 'page',
160             object => $self->{guid},
161             type => $self->{type}
162 0           );
163             }
164              
165             sub isDisabled {
166 0     0 1   my $self = shift;
167             return $self->_api_request(
168             args => [@_],
169             command => 'isDisabled',
170             object => $self->{guid},
171             type => $self->{type}
172 0           );
173             }
174              
175             sub evaluate {
176 0     0 1   my $self = shift;
177             return $self->_api_request(
178             args => [@_],
179             command => 'evaluate',
180             object => $self->{guid},
181             type => $self->{type}
182 0           );
183             }
184              
185             sub frameElement {
186 0     0 1   my $self = shift;
187             return $self->_api_request(
188             args => [@_],
189             command => 'frameElement',
190             object => $self->{guid},
191             type => $self->{type}
192 0           );
193             }
194              
195             sub content {
196 0     0 1   my $self = shift;
197             return $self->_api_request(
198             args => [@_],
199             command => 'content',
200             object => $self->{guid},
201             type => $self->{type}
202 0           );
203             }
204              
205             sub isChecked {
206 0     0 1   my $self = shift;
207             return $self->_api_request(
208             args => [@_],
209             command => 'isChecked',
210             object => $self->{guid},
211             type => $self->{type}
212 0           );
213             }
214              
215             sub setChecked {
216 0     0 1   my $self = shift;
217             return $self->_api_request(
218             args => [@_],
219             command => 'setChecked',
220             object => $self->{guid},
221             type => $self->{type}
222 0           );
223             }
224              
225             sub waitForURL {
226 0     0 1   my $self = shift;
227             return $self->_api_request(
228             args => [@_],
229             command => 'waitForURL',
230             object => $self->{guid},
231             type => $self->{type}
232 0           );
233             }
234              
235             sub select {
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 evalMulti {
246 0     0 1   my $self = shift;
247             return $self->_api_request(
248             args => [@_],
249             command => '$$eval',
250             object => $self->{guid},
251             type => $self->{type}
252 0           );
253             }
254              
255             sub check {
256 0     0 1   my $self = shift;
257             return $self->_api_request(
258             args => [@_],
259             command => 'check',
260             object => $self->{guid},
261             type => $self->{type}
262 0           );
263             }
264              
265             sub waitForNavigation {
266 0     0 1   my $self = shift;
267             return $self->_api_request(
268             args => [@_],
269             command => 'waitForNavigation',
270             object => $self->{guid},
271             type => $self->{type}
272 0           );
273             }
274              
275             sub locator {
276 0     0 1   my $self = shift;
277             return $self->_api_request(
278             args => [@_],
279             command => 'locator',
280             object => $self->{guid},
281             type => $self->{type}
282 0           );
283             }
284              
285             sub getByPlaceholder {
286 0     0 1   my $self = shift;
287             return $self->_api_request(
288             args => [@_],
289             command => 'getByPlaceholder',
290             object => $self->{guid},
291             type => $self->{type}
292 0           );
293             }
294              
295             sub addStyleTag {
296 0     0 1   my $self = shift;
297             return $self->_api_request(
298             args => [@_],
299             command => 'addStyleTag',
300             object => $self->{guid},
301             type => $self->{type}
302 0           );
303             }
304              
305             sub dblclick {
306 0     0 1   my $self = shift;
307             return $self->_api_request(
308             args => [@_],
309             command => 'dblclick',
310             object => $self->{guid},
311             type => $self->{type}
312 0           );
313             }
314              
315             sub frameLocator {
316 0     0 1   my $self = shift;
317             return $self->_api_request(
318             args => [@_],
319             command => 'frameLocator',
320             object => $self->{guid},
321             type => $self->{type}
322 0           );
323             }
324              
325             sub parentFrame {
326 0     0 1   my $self = shift;
327             return $self->_api_request(
328             args => [@_],
329             command => 'parentFrame',
330             object => $self->{guid},
331             type => $self->{type}
332 0           );
333             }
334              
335             sub getByTitle {
336 0     0 1   my $self = shift;
337             return $self->_api_request(
338             args => [@_],
339             command => 'getByTitle',
340             object => $self->{guid},
341             type => $self->{type}
342 0           );
343             }
344              
345             sub getByRole {
346 0     0 1   my $self = shift;
347             return $self->_api_request(
348             args => [@_],
349             command => 'getByRole',
350             object => $self->{guid},
351             type => $self->{type}
352 0           );
353             }
354              
355             sub hover {
356 0     0 1   my $self = shift;
357             return $self->_api_request(
358             args => [@_],
359             command => 'hover',
360             object => $self->{guid},
361             type => $self->{type}
362 0           );
363             }
364              
365             sub getAttribute {
366 0     0 1   my $self = shift;
367             return $self->_api_request(
368             args => [@_],
369             command => 'getAttribute',
370             object => $self->{guid},
371             type => $self->{type}
372 0           );
373             }
374              
375             sub goto {
376 0     0 1   my $self = shift;
377             return $self->_api_request(
378             args => [@_],
379             command => 'goto',
380             object => $self->{guid},
381             type => $self->{type}
382 0           );
383             }
384              
385             sub isHidden {
386 0     0 1   my $self = shift;
387             return $self->_api_request(
388             args => [@_],
389             command => 'isHidden',
390             object => $self->{guid},
391             type => $self->{type}
392 0           );
393             }
394              
395             sub isEnabled {
396 0     0 1   my $self = shift;
397             return $self->_api_request(
398             args => [@_],
399             command => 'isEnabled',
400             object => $self->{guid},
401             type => $self->{type}
402 0           );
403             }
404              
405             sub inputValue {
406 0     0 1   my $self = shift;
407             return $self->_api_request(
408             args => [@_],
409             command => 'inputValue',
410             object => $self->{guid},
411             type => $self->{type}
412 0           );
413             }
414              
415             sub dispatchEvent {
416 0     0 1   my $self = shift;
417             return $self->_api_request(
418             args => [@_],
419             command => 'dispatchEvent',
420             object => $self->{guid},
421             type => $self->{type}
422 0           );
423             }
424              
425             sub focus {
426 0     0 1   my $self = shift;
427             return $self->_api_request(
428             args => [@_],
429             command => 'focus',
430             object => $self->{guid},
431             type => $self->{type}
432 0           );
433             }
434              
435             sub innerText {
436 0     0 1   my $self = shift;
437             return $self->_api_request(
438             args => [@_],
439             command => 'innerText',
440             object => $self->{guid},
441             type => $self->{type}
442 0           );
443             }
444              
445             sub waitForTimeout {
446 0     0 1   my $self = shift;
447             return $self->_api_request(
448             args => [@_],
449             command => 'waitForTimeout',
450             object => $self->{guid},
451             type => $self->{type}
452 0           );
453             }
454              
455             sub fill {
456 0     0 1   my $self = shift;
457             return $self->_api_request(
458             args => [@_],
459             command => 'fill',
460             object => $self->{guid},
461             type => $self->{type}
462 0           );
463             }
464              
465             sub textContent {
466 0     0 1   my $self = shift;
467             return $self->_api_request(
468             args => [@_],
469             command => 'textContent',
470             object => $self->{guid},
471             type => $self->{type}
472 0           );
473             }
474              
475             sub evaluateHandle {
476 0     0 1   my $self = shift;
477             return $self->_api_request(
478             args => [@_],
479             command => 'evaluateHandle',
480             object => $self->{guid},
481             type => $self->{type}
482 0           );
483             }
484              
485             sub tap {
486 0     0 1   my $self = shift;
487             return $self->_api_request(
488             args => [@_],
489             command => 'tap',
490             object => $self->{guid},
491             type => $self->{type}
492 0           );
493             }
494              
495             sub setInputFiles {
496 0     0 1   my $self = shift;
497             return $self->_api_request(
498             args => [@_],
499             command => 'setInputFiles',
500             object => $self->{guid},
501             type => $self->{type}
502 0           );
503             }
504              
505             sub childFrames {
506 0     0 1   my $self = shift;
507             return $self->_api_request(
508             args => [@_],
509             command => 'childFrames',
510             object => $self->{guid},
511             type => $self->{type}
512 0           );
513             }
514              
515             sub waitForSelector {
516 0     0 1   my $self = shift;
517             return $self->_api_request(
518             args => [@_],
519             command => 'waitForSelector',
520             object => $self->{guid},
521             type => $self->{type}
522 0           );
523             }
524              
525             sub isDetached {
526 0     0 1   my $self = shift;
527             return $self->_api_request(
528             args => [@_],
529             command => 'isDetached',
530             object => $self->{guid},
531             type => $self->{type}
532 0           );
533             }
534              
535             sub type {
536 0     0 1   my $self = shift;
537             return $self->_api_request(
538             args => [@_],
539             command => 'type',
540             object => $self->{guid},
541             type => $self->{type}
542 0           );
543             }
544              
545             sub getByText {
546 0     0 1   my $self = shift;
547             return $self->_api_request(
548             args => [@_],
549             command => 'getByText',
550             object => $self->{guid},
551             type => $self->{type}
552 0           );
553             }
554              
555             sub getByAltText {
556 0     0 1   my $self = shift;
557             return $self->_api_request(
558             args => [@_],
559             command => 'getByAltText',
560             object => $self->{guid},
561             type => $self->{type}
562 0           );
563             }
564              
565             sub setContent {
566 0     0 1   my $self = shift;
567             return $self->_api_request(
568             args => [@_],
569             command => 'setContent',
570             object => $self->{guid},
571             type => $self->{type}
572 0           );
573             }
574              
575             sub title {
576 0     0 1   my $self = shift;
577             return $self->_api_request(
578             args => [@_],
579             command => 'title',
580             object => $self->{guid},
581             type => $self->{type}
582 0           );
583             }
584              
585             sub getByLabel {
586 0     0 1   my $self = shift;
587             return $self->_api_request(
588             args => [@_],
589             command => 'getByLabel',
590             object => $self->{guid},
591             type => $self->{type}
592 0           );
593             }
594              
595             sub uncheck {
596 0     0 1   my $self = shift;
597             return $self->_api_request(
598             args => [@_],
599             command => 'uncheck',
600             object => $self->{guid},
601             type => $self->{type}
602 0           );
603             }
604              
605             sub isEditable {
606 0     0 1   my $self = shift;
607             return $self->_api_request(
608             args => [@_],
609             command => 'isEditable',
610             object => $self->{guid},
611             type => $self->{type}
612 0           );
613             }
614              
615             sub dragAndDrop {
616 0     0 1   my $self = shift;
617             return $self->_api_request(
618             args => [@_],
619             command => 'dragAndDrop',
620             object => $self->{guid},
621             type => $self->{type}
622 0           );
623             }
624              
625             sub on {
626 0     0 1   my $self = shift;
627             return $self->_api_request(
628             args => [@_],
629             command => 'on',
630             object => $self->{guid},
631             type => $self->{type}
632 0           );
633             }
634              
635             1;
636              
637             __END__