Termux + playwright
Not going to make a essay, but I have a nodejs discord bot that uses playwright, but since playwright doesn't have real android support, it doesn't want to start. What can I do to get around this, can I trick it into thinking it's another machine, not android?
2 Replies
You already outlined the main issue and potential solution to your problem.
- Playwright doesn't support Android (and by extension Termux)
So it'd need to be patched or run under something else.
Which is where PRoot could come in.
PRoot lets you emulate a chroot distro so you could run Playwright in a PRoot environment, probably.
We have a utility package called
proot-distro
for managing PRoot environments, but be aware PRoot does come with some performance and storage overhead.
For more details feel free to ask in the #proot channel.Thank you, will ask around.