News for hackers. Stuff that matters.
Re:Show HN: I wrote an open-source browser alternative for C... by gregpr07 on Tuesday November 05, 2024 @02:21PM (#42054407)
I don’t know a lot about this but do you have full power of Selenium or not? That would be also very interesting aproach especially when “local” browser models get very good
Re:Show HN: I wrote an open-source browser alternative for C... by Oras on Tuesday November 05, 2024 @02:36PM (#42054523)
From 3 days playing around it, I couldn’t find a way to use selenium or playwright in the browser.

What I did though is having a loop to send instructions from playwright.

For instance, I will open the browser, and then enter a loop to await for instructions (can be from event such as redis) to execute again in the same browser. But still, it’s based on the session instantiated by playwright.