Playwright/Request.pm

filter: Statementstmt 18.0% 11 / 61 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 10.7% 3 / 28 Podpod 96.0% 24 / 25 totaltotal 33.3% 38 / 114 CC 1 SCAR 6.4
CC
1
Cov
18%
new
2.0
spec
2.0
redirectedTo
2.0
CRAP 1.9
« Playwright/GenericAssertions.pm ↑ Summary Playwright/Response.pm »
1 # ABSTRACT: Automatically generated class for Playwright::Request
2 # PODNAME: Playwright::Request
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::Request;
12 1 $Playwright::Request::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} = 'Request';
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->{'Request'}{members};
23 }
24  
25 0 ▶sub redirectedTo {
Subroutine redirectedTo: not called CC=1 SCAR=6.9
Pod documented
26 0 my $self = shift;
27 return $self->_api_request(
28 args => [@_],
29 command => 'redirectedTo',
30 object => $self->{guid},
31 type => $self->{type}
32 0 );
33 }
34  
35 0 ▶sub existingResponse {
Subroutine existingResponse: not called CC=1 SCAR=6.9
Pod documented
36 0 my $self = shift;
37 return $self->_api_request(
38 args => [@_],
39 command => 'existingResponse',
40 object => $self->{guid},
41 type => $self->{type}
42 0 );
43 }
44  
45 0 ▶sub isNavigationRequest {
Subroutine isNavigationRequest: not called CC=1 SCAR=6.9
Pod documented
46 0 my $self = shift;
47 return $self->_api_request(
48 args => [@_],
49 command => 'isNavigationRequest',
50 object => $self->{guid},
51 type => $self->{type}
52 0 );
53 }
54  
55 0 ▶sub headers {
Subroutine headers: not called CC=1 SCAR=6.9
Pod documented
56 0 my $self = shift;
57 return $self->_api_request(
58 args => [@_],
59 command => 'headers',
60 object => $self->{guid},
61 type => $self->{type}
62 0 );
63 }
64  
65 0 ▶sub postData {
Subroutine postData: not called CC=1 SCAR=6.9
Pod documented
66 0 my $self = shift;
67 return $self->_api_request(
68 args => [@_],
69 command => 'postData',
70 object => $self->{guid},
71 type => $self->{type}
72 0 );
73 }
74  
75 0 ▶sub postDataJSON {
Subroutine postDataJSON: not called CC=1 SCAR=6.9
Pod documented
76 0 my $self = shift;
77 return $self->_api_request(
78 args => [@_],
79 command => 'postDataJSON',
80 object => $self->{guid},
81 type => $self->{type}
82 0 );
83 }
84  
85 0 ▶sub frame {
Subroutine frame: not called CC=1 SCAR=6.9
Pod documented
86 0 my $self = shift;
87 return $self->_api_request(
88 args => [@_],
89 command => 'frame',
90 object => $self->{guid},
91 type => $self->{type}
92 0 );
93 }
94  
95 0 ▶sub response {
Subroutine response: not called CC=1 SCAR=6.9
Pod documented
96 0 my $self = shift;
97 return $self->_api_request(
98 args => [@_],
99 command => 'response',
100 object => $self->{guid},
101 type => $self->{type}
102 0 );
103 }
104  
105 0 ▶sub postDataBuffer {
Subroutine postDataBuffer: not called CC=1 SCAR=6.9
Pod documented
106 0 my $self = shift;
107 return $self->_api_request(
108 args => [@_],
109 command => 'postDataBuffer',
110 object => $self->{guid},
111 type => $self->{type}
112 0 );
113 }
114  
115 0 ▶sub allHeaders {
Subroutine allHeaders: not called CC=1 SCAR=6.9
Pod documented
116 0 my $self = shift;
117 return $self->_api_request(
118 args => [@_],
119 command => 'allHeaders',
120 object => $self->{guid},
121 type => $self->{type}
122 0 );
123 }
124  
125 0 ▶sub serviceWorker {
Subroutine serviceWorker: not called CC=1 SCAR=6.9
Pod documented
126 0 my $self = shift;
127 return $self->_api_request(
128 args => [@_],
129 command => 'serviceWorker',
130 object => $self->{guid},
131 type => $self->{type}
132 0 );
133 }
134  
135 0 ▶sub method {
Subroutine method: not called CC=1 SCAR=6.9
Pod documented
136 0 my $self = shift;
137 return $self->_api_request(
138 args => [@_],
139 command => 'method',
140 object => $self->{guid},
141 type => $self->{type}
142 0 );
143 }
144  
145 0 ▶sub resourceType {
Subroutine resourceType: not called CC=1 SCAR=6.9
Pod documented
146 0 my $self = shift;
147 return $self->_api_request(
148 args => [@_],
149 command => 'resourceType',
150 object => $self->{guid},
151 type => $self->{type}
152 0 );
153 }
154  
155 0 ▶sub url {
Subroutine url: not called CC=1 SCAR=6.9
Pod documented
156 0 my $self = shift;
157 return $self->_api_request(
158 args => [@_],
159 command => 'url',
160 object => $self->{guid},
161 type => $self->{type}
162 0 );
163 }
164  
165 0 ▶sub sizes {
Subroutine sizes: not called CC=1 SCAR=6.9
Pod documented
166 0 my $self = shift;
167 return $self->_api_request(
168 args => [@_],
169 command => 'sizes',
170 object => $self->{guid},
171 type => $self->{type}
172 0 );
173 }
174  
175 0 ▶sub redirectedFrom {
Subroutine redirectedFrom: not called CC=1 SCAR=6.9
Pod documented
176 0 my $self = shift;
177 return $self->_api_request(
178 args => [@_],
179 command => 'redirectedFrom',
180 object => $self->{guid},
181 type => $self->{type}
182 0 );
183 }
184  
185 0 ▶sub headerValue {
Subroutine headerValue: not called CC=1 SCAR=6.9
Pod documented
186 0 my $self = shift;
187 return $self->_api_request(
188 args => [@_],
189 command => 'headerValue',
190 object => $self->{guid},
191 type => $self->{type}
192 0 );
193 }
194  
195 0 ▶sub timing {
Subroutine timing: not called CC=1 SCAR=6.9
Pod documented
196 0 my $self = shift;
197 return $self->_api_request(
198 args => [@_],
199 command => 'timing',
200 object => $self->{guid},
201 type => $self->{type}
202 0 );
203 }
204  
205 0 ▶sub failure {
Subroutine failure: not called CC=1 SCAR=6.9
Pod documented
206 0 my $self = shift;
207 return $self->_api_request(
208 args => [@_],
209 command => 'failure',
210 object => $self->{guid},
211 type => $self->{type}
212 0 );
213 }
214  
215 0 ▶sub headersArray {
Subroutine headersArray: not called CC=1 SCAR=6.9
Pod documented
216 0 my $self = shift;
217 return $self->_api_request(
218 args => [@_],
219 command => 'headersArray',
220 object => $self->{guid},
221 type => $self->{type}
222 0 );
223 }
224  
225 0 ▶sub on {
Subroutine on: not called CC=1 SCAR=6.9
Pod documented
226 0 my $self = shift;
227 return $self->_api_request(
228 args => [@_],
229 command => 'on',
230 object => $self->{guid},
231 type => $self->{type}
232 0 );
233 }
234  
235 0 ▶sub evaluate {
Subroutine evaluate: not called CC=1 SCAR=6.9
Pod documented
236 0 my $self = shift;
237 return $self->_api_request(
238 args => [@_],
239 command => 'evaluate',
240 object => $self->{guid},
241 type => $self->{type}
242 0 );
243 }
244  
245 0 ▶sub evaluateHandle {
Subroutine evaluateHandle: not called CC=1 SCAR=6.9
Pod documented
246 0 my $self = shift;
247 return $self->_api_request(
248 args => [@_],
249 command => 'evaluateHandle',
250 object => $self->{guid},
251 type => $self->{type}
252 0 );
253 }
254  
255 1 1;
256  
257 __END__
« Playwright/GenericAssertions.pm ↑ Summary Playwright/Response.pm »