Playwright/Page.pm

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