Playwright/Locator.pm

filter: Statementstmt 6.8% 11 / 161 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 3.8% 3 / 78 Podpod 98.6% 74 / 75 totaltotal 28.0% 88 / 314 CC 1 SCAR 6.7
CC
1
Cov
7%
new
2.0
spec
2.0
isHidden
2.0
CRAP 2.0
« Playwright/Page.pm ↑ Summary Playwright/Frame.pm »
1 # ABSTRACT: Automatically generated class for Playwright::Locator
2 # PODNAME: Playwright::Locator
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::Locator;
12 1 $Playwright::Locator::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} = 'Locator';
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->{'Locator'}{members};
23 }
24  
25 0 ▶sub isHidden {
Subroutine isHidden: not called CC=1 SCAR=6.9
Pod documented
26 0 my $self = shift;
27 return $self->_api_request(
28 args => [@_],
29 command => 'isHidden',
30 object => $self->{guid},
31 type => $self->{type}
32 0 );
33 }
34  
35 0 ▶sub press {
Subroutine press: not called CC=1 SCAR=6.9
Pod documented
36 0 my $self = shift;
37 return $self->_api_request(
38 args => [@_],
39 command => 'press',
40 object => $self->{guid},
41 type => $self->{type}
42 0 );
43 }
44  
45 0 ▶sub clear {
Subroutine clear: not called CC=1 SCAR=6.9
Pod documented
46 0 my $self = shift;
47 return $self->_api_request(
48 args => [@_],
49 command => 'clear',
50 object => $self->{guid},
51 type => $self->{type}
52 0 );
53 }
54  
55 0 ▶sub isChecked {
Subroutine isChecked: not called CC=1 SCAR=6.9
Pod documented
56 0 my $self = shift;
57 return $self->_api_request(
58 args => [@_],
59 command => 'isChecked',
60 object => $self->{guid},
61 type => $self->{type}
62 0 );
63 }
64  
65 0 ▶sub last {
Subroutine last: not called CC=1 SCAR=6.9
Pod documented
66 0 my $self = shift;
67 return $self->_api_request(
68 args => [@_],
69 command => 'last',
70 object => $self->{guid},
71 type => $self->{type}
72 0 );
73 }
74  
75 0 ▶sub page {
Subroutine page: not called CC=1 SCAR=6.9
Pod documented
76 0 my $self = shift;
77 return $self->_api_request(
78 args => [@_],
79 command => 'page',
80 object => $self->{guid},
81 type => $self->{type}
82 0 );
83 }
84  
85 0 ▶sub locator {
Subroutine locator: not called CC=1 SCAR=6.9
Pod documented
86 0 my $self = shift;
87 return $self->_api_request(
88 args => [@_],
89 command => 'locator',
90 object => $self->{guid},
91 type => $self->{type}
92 0 );
93 }
94  
95 0 ▶sub evaluateAll {
Subroutine evaluateAll: not called CC=1 SCAR=6.9
Pod documented
96 0 my $self = shift;
97 return $self->_api_request(
98 args => [@_],
99 command => 'evaluateAll',
100 object => $self->{guid},
101 type => $self->{type}
102 0 );
103 }
104  
105 0 ▶sub boundingBox {
Subroutine boundingBox: not called CC=1 SCAR=6.9
Pod documented
106 0 my $self = shift;
107 return $self->_api_request(
108 args => [@_],
109 command => 'boundingBox',
110 object => $self->{guid},
111 type => $self->{type}
112 0 );
113 }
114  
115 0 ▶sub selectOption {
Subroutine selectOption: not called CC=1 SCAR=6.9
Pod documented
116 0 my $self = shift;
117 return $self->_api_request(
118 args => [@_],
119 command => 'selectOption',
120 object => $self->{guid},
121 type => $self->{type}
122 0 );
123 }
124  
125 0 ▶sub all {
Subroutine all: not called CC=1 SCAR=6.9
Pod documented
126 0 my $self = shift;
127 return $self->_api_request(
128 args => [@_],
129 command => 'all',
130 object => $self->{guid},
131 type => $self->{type}
132 0 );
133 }
134  
135 0 ▶sub screenshot {
Subroutine screenshot: not called CC=1 SCAR=6.9
Pod documented
136 0 my $self = shift;
137 return $self->_api_request(
138 args => [@_],
139 command => 'screenshot',
140 object => $self->{guid},
141 type => $self->{type}
142 0 );
143 }
144  
145 0 ▶sub click {
Subroutine click: not called CC=1 SCAR=6.9
Pod documented
146 0 my $self = shift;
147 return $self->_api_request(
148 args => [@_],
149 command => 'click',
150 object => $self->{guid},
151 type => $self->{type}
152 0 );
153 }
154  
155 0 ▶sub uncheck {
Subroutine uncheck: not called CC=1 SCAR=6.9
Pod documented
156 0 my $self = shift;
157 return $self->_api_request(
158 args => [@_],
159 command => 'uncheck',
160 object => $self->{guid},
161 type => $self->{type}
162 0 );
163 }
164  
165 0 ▶sub ariaSnapshot {
Subroutine ariaSnapshot: not called CC=1 SCAR=6.9
Pod documented
166 0 my $self = shift;
167 return $self->_api_request(
168 args => [@_],
169 command => 'ariaSnapshot',
170 object => $self->{guid},
171 type => $self->{type}
172 0 );
173 }
174  
175 0 ▶sub getByLabel {
Subroutine getByLabel: not called CC=1 SCAR=6.9
Pod documented
176 0 my $self = shift;
177 return $self->_api_request(
178 args => [@_],
179 command => 'getByLabel',
180 object => $self->{guid},
181 type => $self->{type}
182 0 );
183 }
184  
185 0 ▶sub description {
Subroutine description: not called CC=1 SCAR=6.9
Pod documented
186 0 my $self = shift;
187 return $self->_api_request(
188 args => [@_],
189 command => 'description',
190 object => $self->{guid},
191 type => $self->{type}
192 0 );
193 }
194  
195 0 ▶sub dispatchEvent {
Subroutine dispatchEvent: not called CC=1 SCAR=6.9
Pod documented
196 0 my $self = shift;
197 return $self->_api_request(
198 args => [@_],
199 command => 'dispatchEvent',
200 object => $self->{guid},
201 type => $self->{type}
202 0 );
203 }
204  
205 0 ▶sub ariaSnapshotJSON {
Subroutine ariaSnapshotJSON: not called CC=1 SCAR=6.9
Pod documented
206 0 my $self = shift;
207 return $self->_api_request(
208 args => [@_],
209 command => 'ariaSnapshotJSON',
210 object => $self->{guid},
211 type => $self->{type}
212 0 );
213 }
214  
215 0 ▶sub evaluate {
Subroutine evaluate: not called CC=1 SCAR=6.9
Pod documented
216 0 my $self = shift;
217 return $self->_api_request(
218 args => [@_],
219 command => 'evaluate',
220 object => $self->{guid},
221 type => $self->{type}
222 0 );
223 }
224  
225 0 ▶sub check {
Subroutine check: not called CC=1 SCAR=6.9
Pod documented
226 0 my $self = shift;
227 return $self->_api_request(
228 args => [@_],
229 command => 'check',
230 object => $self->{guid},
231 type => $self->{type}
232 0 );
233 }
234  
235 0 ▶sub dblclick {
Subroutine dblclick: not called CC=1 SCAR=6.9
Pod documented
236 0 my $self = shift;
237 return $self->_api_request(
238 args => [@_],
239 command => 'dblclick',
240 object => $self->{guid},
241 type => $self->{type}
242 0 );
243 }
244  
245 0 ▶sub isEnabled {
Subroutine isEnabled: not called CC=1 SCAR=6.9
Pod documented
246 0 my $self = shift;
247 return $self->_api_request(
248 args => [@_],
249 command => 'isEnabled',
250 object => $self->{guid},
251 type => $self->{type}
252 0 );
253 }
254  
255 0 ▶sub elementHandles {
Subroutine elementHandles: not called CC=1 SCAR=6.9
Pod documented
256 0 my $self = shift;
257 return $self->_api_request(
258 args => [@_],
259 command => 'elementHandles',
260 object => $self->{guid},
261 type => $self->{type}
262 0 );
263 }
264  
265 0 ▶sub highlight {
Subroutine highlight: not called CC=1 SCAR=6.9
Pod documented
266 0 my $self = shift;
267 return $self->_api_request(
268 args => [@_],
269 command => 'highlight',
270 object => $self->{guid},
271 type => $self->{type}
272 0 );
273 }
274  
275 0 ▶sub type {
Subroutine type: not called CC=1 SCAR=6.9
Pod documented
276 0 my $self = shift;
277 return $self->_api_request(
278 args => [@_],
279 command => 'type',
280 object => $self->{guid},
281 type => $self->{type}
282 0 );
283 }
284  
285 0 ▶sub elementHandle {
Subroutine elementHandle: not called CC=1 SCAR=6.9
Pod documented
286 0 my $self = shift;
287 return $self->_api_request(
288 args => [@_],
289 command => 'elementHandle',
290 object => $self->{guid},
291 type => $self->{type}
292 0 );
293 }
294  
295 0 ▶sub setInputFiles {
Subroutine setInputFiles: not called CC=1 SCAR=6.9
Pod documented
296 0 my $self = shift;
297 return $self->_api_request(
298 args => [@_],
299 command => 'setInputFiles',
300 object => $self->{guid},
301 type => $self->{type}
302 0 );
303 }
304  
305 0 ▶sub getByRole {
Subroutine getByRole: not called CC=1 SCAR=6.9
Pod documented
306 0 my $self = shift;
307 return $self->_api_request(
308 args => [@_],
309 command => 'getByRole',
310 object => $self->{guid},
311 type => $self->{type}
312 0 );
313 }
314  
315 0 ▶sub getAttribute {
Subroutine getAttribute: not called CC=1 SCAR=6.9
Pod documented
316 0 my $self = shift;
317 return $self->_api_request(
318 args => [@_],
319 command => 'getAttribute',
320 object => $self->{guid},
321 type => $self->{type}
322 0 );
323 }
324  
325 0 ▶sub blur {
Subroutine blur: not called CC=1 SCAR=6.9
Pod documented
326 0 my $self = shift;
327 return $self->_api_request(
328 args => [@_],
329 command => 'blur',
330 object => $self->{guid},
331 type => $self->{type}
332 0 );
333 }
334  
335 0 ▶sub waitForFunction {
Subroutine waitForFunction: not called CC=1 SCAR=6.9
Pod documented
336 0 my $self = shift;
337 return $self->_api_request(
338 args => [@_],
339 command => 'waitForFunction',
340 object => $self->{guid},
341 type => $self->{type}
342 0 );
343 }
344  
345 0 ▶sub fill {
Subroutine fill: not called CC=1 SCAR=6.9
Pod documented
346 0 my $self = shift;
347 return $self->_api_request(
348 args => [@_],
349 command => 'fill',
350 object => $self->{guid},
351 type => $self->{type}
352 0 );
353 }
354  
355 0 ▶sub scrollIntoViewIfNeeded {
Subroutine scrollIntoViewIfNeeded: not called CC=1 SCAR=6.9
Pod documented
356 0 my $self = shift;
357 return $self->_api_request(
358 args => [@_],
359 command => 'scrollIntoViewIfNeeded',
360 object => $self->{guid},
361 type => $self->{type}
362 0 );
363 }
364  
365 0 ▶sub normalize {
Subroutine normalize: not called CC=1 SCAR=6.9
Pod documented
366 0 my $self = shift;
367 return $self->_api_request(
368 args => [@_],
369 command => 'normalize',
370 object => $self->{guid},
371 type => $self->{type}
372 0 );
373 }
374  
375 0 ▶sub isVisible {
Subroutine isVisible: not called CC=1 SCAR=6.9
Pod documented
376 0 my $self = shift;
377 return $self->_api_request(
378 args => [@_],
379 command => 'isVisible',
380 object => $self->{guid},
381 type => $self->{type}
382 0 );
383 }
384  
385 0 ▶sub getByTestId {
Subroutine getByTestId: not called CC=1 SCAR=6.9
Pod documented
386 0 my $self = shift;
387 return $self->_api_request(
388 args => [@_],
389 command => 'getByTestId',
390 object => $self->{guid},
391 type => $self->{type}
392 0 );
393 }
394  
395 0 ▶sub inputValue {
Subroutine inputValue: not called CC=1 SCAR=6.9
Pod documented
396 0 my $self = shift;
397 return $self->_api_request(
398 args => [@_],
399 command => 'inputValue',
400 object => $self->{guid},
401 type => $self->{type}
402 0 );
403 }
404  
405 0 ▶sub dragTo {
Subroutine dragTo: not called CC=1 SCAR=6.9
Pod documented
406 0 my $self = shift;
407 return $self->_api_request(
408 args => [@_],
409 command => 'dragTo',
410 object => $self->{guid},
411 type => $self->{type}
412 0 );
413 }
414  
415 0 ▶sub getByTitle {
Subroutine getByTitle: not called CC=1 SCAR=6.9
Pod documented
416 0 my $self = shift;
417 return $self->_api_request(
418 args => [@_],
419 command => 'getByTitle',
420 object => $self->{guid},
421 type => $self->{type}
422 0 );
423 }
424  
425 0 ▶sub tap {
Subroutine tap: not called CC=1 SCAR=6.9
Pod documented
426 0 my $self = shift;
427 return $self->_api_request(
428 args => [@_],
429 command => 'tap',
430 object => $self->{guid},
431 type => $self->{type}
432 0 );
433 }
434  
435 0 ▶sub getByText {
Subroutine getByText: not called CC=1 SCAR=6.9
Pod documented
436 0 my $self = shift;
437 return $self->_api_request(
438 args => [@_],
439 command => 'getByText',
440 object => $self->{guid},
441 type => $self->{type}
442 0 );
443 }
444  
445 0 ▶sub visible {
Subroutine visible: not called CC=1 SCAR=6.9
Pod documented
446 0 my $self = shift;
447 return $self->_api_request(
448 args => [@_],
449 command => 'visible',
450 object => $self->{guid},
451 type => $self->{type}
452 0 );
453 }
454  
455 0 ▶sub getByPlaceholder {
Subroutine getByPlaceholder: not called CC=1 SCAR=6.9
Pod documented
456 0 my $self = shift;
457 return $self->_api_request(
458 args => [@_],
459 command => 'getByPlaceholder',
460 object => $self->{guid},
461 type => $self->{type}
462 0 );
463 }
464  
465 0 ▶sub hideHighlight {
Subroutine hideHighlight: not called CC=1 SCAR=6.9
Pod documented
466 0 my $self = shift;
467 return $self->_api_request(
468 args => [@_],
469 command => 'hideHighlight',
470 object => $self->{guid},
471 type => $self->{type}
472 0 );
473 }
474  
475 0 ▶sub pressSequentially {
Subroutine pressSequentially: not called CC=1 SCAR=6.9
Pod documented
476 0 my $self = shift;
477 return $self->_api_request(
478 args => [@_],
479 command => 'pressSequentially',
480 object => $self->{guid},
481 type => $self->{type}
482 0 );
483 }
484  
485 0 ▶sub selectText {
Subroutine selectText: not called CC=1 SCAR=6.9
Pod documented
486 0 my $self = shift;
487 return $self->_api_request(
488 args => [@_],
489 command => 'selectText',
490 object => $self->{guid},
491 type => $self->{type}
492 0 );
493 }
494  
495 0 ▶sub toString {
Subroutine toString: not called CC=1 SCAR=6.9
Pod documented
496 0 my $self = shift;
497 return $self->_api_request(
498 args => [@_],
499 command => 'toString',
500 object => $self->{guid},
501 type => $self->{type}
502 0 );
503 }
504  
505 0 ▶sub innerText {
Subroutine innerText: not called CC=1 SCAR=6.9
Pod documented
506 0 my $self = shift;
507 return $self->_api_request(
508 args => [@_],
509 command => 'innerText',
510 object => $self->{guid},
511 type => $self->{type}
512 0 );
513 }
514  
515 0 ▶sub setChecked {
Subroutine setChecked: not called CC=1 SCAR=6.9
Pod documented
516 0 my $self = shift;
517 return $self->_api_request(
518 args => [@_],
519 command => 'setChecked',
520 object => $self->{guid},
521 type => $self->{type}
522 0 );
523 }
524  
525 0 ▶sub allInnerTexts {
Subroutine allInnerTexts: not called CC=1 SCAR=6.9
Pod documented
526 0 my $self = shift;
527 return $self->_api_request(
528 args => [@_],
529 command => 'allInnerTexts',
530 object => $self->{guid},
531 type => $self->{type}
532 0 );
533 }
534  
535 0 ▶sub textContent {
Subroutine textContent: not called CC=1 SCAR=6.9
Pod documented
536 0 my $self = shift;
537 return $self->_api_request(
538 args => [@_],
539 command => 'textContent',
540 object => $self->{guid},
541 type => $self->{type}
542 0 );
543 }
544  
545 0 ▶sub contentFrame {
Subroutine contentFrame: not called CC=1 SCAR=6.9
Pod documented
546 0 my $self = shift;
547 return $self->_api_request(
548 args => [@_],
549 command => 'contentFrame',
550 object => $self->{guid},
551 type => $self->{type}
552 0 );
553 }
554  
555 0 ▶sub within {
Subroutine within: not called CC=1 SCAR=6.9
Pod documented
556 0 my $self = shift;
557 return $self->_api_request(
558 args => [@_],
559 command => 'within',
560 object => $self->{guid},
561 type => $self->{type}
562 0 );
563 }
564  
565 0 ▶sub focus {
Subroutine focus: not called CC=1 SCAR=6.9
Pod documented
566 0 my $self = shift;
567 return $self->_api_request(
568 args => [@_],
569 command => 'focus',
570 object => $self->{guid},
571 type => $self->{type}
572 0 );
573 }
574  
575 0 ▶sub evaluateHandle {
Subroutine evaluateHandle: not called CC=1 SCAR=6.9
Pod documented
576 0 my $self = shift;
577 return $self->_api_request(
578 args => [@_],
579 command => 'evaluateHandle',
580 object => $self->{guid},
581 type => $self->{type}
582 0 );
583 }
584  
585 0 ▶sub first {
Subroutine first: not called CC=1 SCAR=6.9
Pod documented
586 0 my $self = shift;
587 return $self->_api_request(
588 args => [@_],
589 command => 'first',
590 object => $self->{guid},
591 type => $self->{type}
592 0 );
593 }
594  
595 0 ▶sub isDisabled {
Subroutine isDisabled: not called CC=1 SCAR=6.9
Pod documented
596 0 my $self = shift;
597 return $self->_api_request(
598 args => [@_],
599 command => 'isDisabled',
600 object => $self->{guid},
601 type => $self->{type}
602 0 );
603 }
604  
605 0 ▶sub allTextContents {
Subroutine allTextContents: not called CC=1 SCAR=6.9
Pod documented
606 0 my $self = shift;
607 return $self->_api_request(
608 args => [@_],
609 command => 'allTextContents',
610 object => $self->{guid},
611 type => $self->{type}
612 0 );
613 }
614  
615 0 ▶sub nth {
Subroutine nth: not called CC=1 SCAR=6.9
Pod documented
616 0 my $self = shift;
617 return $self->_api_request(
618 args => [@_],
619 command => 'nth',
620 object => $self->{guid},
621 type => $self->{type}
622 0 );
623 }
624  
625 0 ▶sub count {
Subroutine count: not called CC=1 SCAR=6.9
Pod documented
626 0 my $self = shift;
627 return $self->_api_request(
628 args => [@_],
629 command => 'count',
630 object => $self->{guid},
631 type => $self->{type}
632 0 );
633 }
634  
635 0 ▶sub or {
Subroutine or: not called CC=1 SCAR=6.9
Pod documented
636 0 my $self = shift;
637 return $self->_api_request(
638 args => [@_],
639 command => 'or',
640 object => $self->{guid},
641 type => $self->{type}
642 0 );
643 }
644  
645 0 ▶sub hover {
Subroutine hover: not called CC=1 SCAR=6.9
Pod documented
646 0 my $self = shift;
647 return $self->_api_request(
648 args => [@_],
649 command => 'hover',
650 object => $self->{guid},
651 type => $self->{type}
652 0 );
653 }
654  
655 0 ▶sub getByAltText {
Subroutine getByAltText: not called CC=1 SCAR=6.9
Pod documented
656 0 my $self = shift;
657 return $self->_api_request(
658 args => [@_],
659 command => 'getByAltText',
660 object => $self->{guid},
661 type => $self->{type}
662 0 );
663 }
664  
665 0 ▶sub describe {
Subroutine describe: not called CC=1 SCAR=6.9
Pod documented
666 0 my $self = shift;
667 return $self->_api_request(
668 args => [@_],
669 command => 'describe',
670 object => $self->{guid},
671 type => $self->{type}
672 0 );
673 }
674  
675 0 ▶sub filter {
Subroutine filter: not called CC=1 SCAR=6.9
Pod documented
676 0 my $self = shift;
677 return $self->_api_request(
678 args => [@_],
679 command => 'filter',
680 object => $self->{guid},
681 type => $self->{type}
682 0 );
683 }
684  
685 0 ▶sub waitFor {
Subroutine waitFor: not called CC=1 SCAR=6.9
Pod documented
686 0 my $self = shift;
687 return $self->_api_request(
688 args => [@_],
689 command => 'waitFor',
690 object => $self->{guid},
691 type => $self->{type}
692 0 );
693 }
694  
695 0 ▶sub drop {
Subroutine drop: not called CC=1 SCAR=6.9
Pod documented
696 0 my $self = shift;
697 return $self->_api_request(
698 args => [@_],
699 command => 'drop',
700 object => $self->{guid},
701 type => $self->{type}
702 0 );
703 }
704  
705 0 ▶sub innerHTML {
Subroutine innerHTML: not called CC=1 SCAR=6.9
Pod documented
706 0 my $self = shift;
707 return $self->_api_request(
708 args => [@_],
709 command => 'innerHTML',
710 object => $self->{guid},
711 type => $self->{type}
712 0 );
713 }
714  
715 0 ▶sub isEditable {
Subroutine isEditable: not called CC=1 SCAR=6.9
Pod documented
716 0 my $self = shift;
717 return $self->_api_request(
718 args => [@_],
719 command => 'isEditable',
720 object => $self->{guid},
721 type => $self->{type}
722 0 );
723 }
724  
725 0 ▶sub and {
Subroutine and: not called CC=1 SCAR=6.9
Pod documented
726 0 my $self = shift;
727 return $self->_api_request(
728 args => [@_],
729 command => 'and',
730 object => $self->{guid},
731 type => $self->{type}
732 0 );
733 }
734  
735 0 ▶sub frameLocator {
Subroutine frameLocator: not called CC=1 SCAR=6.9
Pod documented
736 0 my $self = shift;
737 return $self->_api_request(
738 args => [@_],
739 command => 'frameLocator',
740 object => $self->{guid},
741 type => $self->{type}
742 0 );
743 }
744  
745 0 ▶sub on {
Subroutine on: not called CC=1 SCAR=6.9
Pod documented
746 0 my $self = shift;
747 return $self->_api_request(
748 args => [@_],
749 command => 'on',
750 object => $self->{guid},
751 type => $self->{type}
752 0 );
753 }
754  
755 1 1;
756  
757 __END__
« Playwright/Page.pm ↑ Summary Playwright/Frame.pm »