dom changed in download script

main
saif 2025-02-12 16:55:57 +05:00
parent 06e93e246c
commit 725f2ff5fa
1 changed files with 4 additions and 2 deletions

View File

@ -213,8 +213,10 @@ const utils = require("./utils");
const orderPoList = await page.$$(orderPOSelector);
// select all print buttons
const buttonSelector = "div._37Oz7wUV";
const buttons = await page.$$(buttonSelector);
// const buttonSelector = "div.elli_outerWrapper_123.elli_lineClamp_123.beast-core-ellipsis-1";
// const buttons = await page.$$(buttonSelector);
const buttons = await page.$$("div");
for (const button of buttons) {
try {
const text = await page.evaluate(