WIP - NW.js cross platform test suite using prebuilt binary to quickly test its API.
- fork/clone/download
npm install
npm start
to run automated testsnpm manual
to run manual tests in the window (instructions provided)
- API:
nw.Window.*
- Platform: N/A
- Issue: Not an issue but potential improvement.
- Todo: Test each
nw.Window.*
component separately.
- API:
nw.Window.height
- Platform: MacOS
- Issue: Actual height is 28px more than user input height.
- Todo: Fix this behavior in upstream
- API:
nw.Window.on
devtools-closed
- Platform: All
- Issue: This event is currently not supported.
- Todo: Use
nw-build-tools
to run debug build and test if it works.
- API:
Chromedriver
- Platform: Windows
- Issue: Fails for Windows. Need to investigate.
- Todo: Maybe find Chromedriver path via
nw
Node module'sfindpath
function?
nw.App.clearAppCache('');
- Don't know what to pass into this function. Docs just say "manifest_url"?<iframe nwUserAgent="">
- Points to Manifest docs for user agent, which has placeholders, but they don't work in this context. Should they? Is this a bug?- To test:
<iframe nwUserAgent="%name %ver %nwver %webkit_ver %chromium_ver %osinfo"></iframe>
should show real values, not just the placeholders.
- To test:
- Should console logs from a Node context appear in the background page inspector or the window? Logically to me it should be the background page (which is how it works), but the docs aren't clear.
process.mainModule
is an object while the docs indicate it would be a string