Closed ivys17 closed 3 years ago
Thanks! I fixed it instead like this:
const isLoggedIn = async () => (await page.$x('//*[@aria-label="Home"]')).length === 1;
...hopefully more robust.
Try 7.0.3
mm dont work for me
That’s odd. Works for me. Can you confirm you have the newest version?
cat node_modules/instauto/package.json
sorry, works ok now
You need to make changes to index.js const isLoggedIn = async () => (await page.$x('//nav')).length === 2; - old const isLoggedIn = async () => (await page.$x('//nav')).length === 1; - new