const searchInputs = await page.$("#text3"); if (searchInputs) console.log('对象存在') else console.log('对象不存在')