Answer the question
In order to leave comments, you need to log in
How to get data inside an array?
There is the following code:
await page.on('response', async (response) => {
if (response.url() == "https://capuk.org/ajax_search/capmoneycourses) {
console.log('XHR response received');
console.log(await response.json());
}
});
Answer the question
In order to leave comments, you need to log in
https://nodejs.org/dist/latest-v17.x/docs/api/cons...
Note the depth parameter
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question