Closed Osiris-Team closed 3 years ago
Hello @Osiris-Team,
which version of J2V8 do you use? I highly doubt it, but it's possible that the version you're using does not support that feature.
Latest available on maven
Closing because of no response
I wonder if you mind trying Javet which is an awesome way of embedding Node.js and V8 in Java.
@caoccao dammn that wouldve been great a few days ago... Just integrated Node.js by myself into Java haha https://github.com/Osiris-Team/Headless-Browser
@caoccao dammn that wouldve been great a few days ago... Just integrated Node.js by myself into Java haha https://github.com/Osiris-Team/Headless-Browser
I thought you tried because there are other open issues referencing Javet.
I just took a glance at your project. It looks nice. I think it could be built upon Javet. And I don't recommend GraalJS because it has so many inconsistencies with V8/Chrome/ES so that in the long term 80% of development team's time would be spent on fighting with those inconsistencies and waiting for Oracle's mercy.
@caoccao sounds like you already got some experience on that topic haha. Definitively going to check out javet.
@caoccao sounds like you already got some experience on that topic haha. Definitively going to check out javet.
A further look, it seems the Node.js you integrate is an out-of-process one? I have to admit out-of-process Node.js is very slow, compared to the in-process one provided by Javet.
If you are interested, let's avoid using J2V8 as a chatroom. Javet lovers are at discord. I look forward to seeing you.
const { JSDOM } = jsdom;
works in the chrome devtools console without problem. I thought the currently implemented version of the V8 engine would be able to do this too?