File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ async function run() {
6464 //To get the text from a JSON request, use innerText instead of response
6565 console . log ( jsonPost . solution . innerText )
6666
67+ await initialize . destroySession ( session )
68+
6769}
6870
6971run ( ) . then ( ( data ) => console . log ( data ) ) . catch ( ( err ) => console . error ( err ) )
Original file line number Diff line number Diff line change 11{
22 "name" : " scrappey-wrapper" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.7 " ,
44 "description" : " " ,
55 "main" : " main.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ async function run() {
109109 // To get the text from a JSON request, use innerText instead of response
110110 console .log (jsonPost .solution .innerText )
111111
112+ await initialize .destroySession (session)
113+
112114}
113115
114116run ().then ((data ) => console .log (data)).catch ((err ) => console .error (err))
You can’t perform that action at this time.
0 commit comments