Is node module still supported or planned?

1 view
Skip to first unread message

johnatha...@gmail.com

unread,
Dec 25, 2012, 11:41:25 PM12/25/12
to node-...@googlegroups.com
Hello,

Is it still supported to be able to go the other way around (access webkit in node)? I want to create something similar to phantomjs (headless access to webkit), but node-based.

Before there was an npm module that would load webkit and allow you to access the main window object in node.

Thanks,

Johnathan

Roger

unread,
Dec 26, 2012, 12:01:02 AM12/26/12
to node-...@googlegroups.com, johnatha...@gmail.com
it's always been supported to access DOM from Node and vice versa. Please see the information on our wiki.

The previous 'nwebkit' module is not there any more after we moved from CEF to Content Shell. Its functionality is now built-in.

And code in this repo was used to host the simple nwebkit module. Now it's replaced by the code for Content Shell integration.

Any further questions please let me know.

Roger



From: johnatha...@gmail.com
Sent: Wed Dec 26 12:41:25 格林尼治标准时间+0800 2012
To: node-...@googlegroups.com
Subject: [node-webkit] Is node module still supported or planned?

Johnathan Leppert

unread,
Dec 26, 2012, 12:18:25 AM12/26/12
to Roger, node-...@googlegroups.com
Hi Roger,

Could you point me to the wiki page that explains this? I'm looking primarily to run nw headless, but couldn't find a suitable way to do so.

A short example or pointing to the correct wiki article/code sample of Content Shell would be awesome.

Thanks,

Johnathan
--
Johnathan
Software Engineer
San Francisco, California

Roger

unread,
Dec 26, 2012, 12:32:46 AM12/26/12
to Johnathan Leppert, node-...@googlegroups.com
https://github.com/rogerwang/node-webkit/wiki/Window

with it you can open a native Window and get it's DOM window object.

Another way is to use the 'window' object inserted to Node's global to access the first DOM window.

Note that the 'nw.gui' module need to be loaded from DOM context (we'll fix this ) but the Window API should be ok to access from Node context.

And we support hiding the window but don't support headless, which we'd like to do in the future to support applications like testing and tools.

Roger



From: Johnathan Leppert <johnatha...@gmail.com>
Sent: Wed Dec 26 13:18:25 格林尼治标准时间+0800 2012
To: Roger <wen...@gmail.com>
Cc: node-...@googlegroups.com
Subject: Re: [node-webkit] Is node module still supported or planned?
Reply all
Reply to author
Forward
0 new messages