File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,6 @@ export class ScrapeDo {
97
97
pwbParsed = JSON . stringify ( options . playWithBrowser ) ;
98
98
}
99
99
100
- console . log ( encodeURIComponent ( cookies || "" ) ) ;
101
-
102
100
const params = {
103
101
...options ,
104
102
extraHeaders : options . extraHeaders ? true : undefined ,
Original file line number Diff line number Diff line change @@ -148,7 +148,13 @@ export type DoErrorResponse = {
148
148
export interface DoRenderResponse {
149
149
networkRequests ?: any [ ] ;
150
150
websocketResponses ?: any [ ] ;
151
- actionResults ?: any [ ] ;
151
+ actionResults ?: {
152
+ action : string ;
153
+ error ?: string ;
154
+ success : boolean ;
155
+ index : number ;
156
+ response ?: any ;
157
+ } [ ] ;
152
158
screenShots ?: { type : string ; image ; string ; error : string } [ ] ;
153
159
}
154
160
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ describe("Usability tests", () => {
48
48
A123 : "Cookie" ,
49
49
} ,
50
50
} ) ;
51
- console . log ( response . content ) ;
51
+
52
52
expect ( response . statusCode ) . toBe ( 200 ) ;
53
53
expect ( response . content . headers [ "Cookie" ] ) . toStrictEqual ( [ "A123=Cookie" ] ) ;
54
54
} ) ;
You can’t perform that action at this time.
0 commit comments