for (let i = 1; i <= 5; i++) {
const [response] = await Promise.all([
page.waitForResponse((res) => res.url() !== locationURL && res.url().includes('/approved-used?')),
page.click('.load-more button')
]);
const d = await response.json();
for (let i = 1; i <= 5; i++) {
const [response] = await Promise.all([
page.waitForResponse((res) => res.url() !== locationURL && res.url().includes('/approved-used?')),
page.click('.load-more button')
]);
const d = await response.json();