Closed beuted closed 1 year ago
Salut @beuted,
It's been a while since I've looked at this so it could be broken 🤷♂️
Have you tried running it in non-headless mode?
This lets you see the browser as it's clicking around etc.
const browser = await playwright['chromium'].launch({ headless: false });
https://playwright.dev/docs/debug#headed-mode
Apparently there's a slowMo
feature which I haven't used before.
Nah I think the issue is that some of the elements class and id have changed since you implemented it. (Even the tests of the repo are broken I think) I'll try to fix it on my side and send a PR on your repo if I manage to fix it :)
I've created this PR https://github.com/connorads/stackoverflow-fanatic/pull/33
And this one to be merged first to fix the tests: https://github.com/connorads/stackoverflow-fanatic/pull/34
Merci beaucoup monsieur 🙏 Merged both the PRs. Is it all working now?
Bear in mind that the Readme currently lies a bit https://github.com/connorads/stackoverflow-fanatic/issues/15#issuecomment-915559163 👀
A manual run worked so I think it should be good. I'll check tomorrow if it has run in the night :)
Hey @beuted, I'm guessing it is working now and can close this? 👀
Yeap thanks
What I've tried:
I'm new to playright maybe there is a way to debug this easily ?