如何从Node-Webkit应用程序在Chrome浏览器中打开浏览器窗口

时间:2020-09-30 12:52:55

标签: node.js

在下面的代码中,我想在chrome bowser中打开窗口,但在chrome中打开

nw.Window.open("index.html", { "focus": true }, (win) => {
  win.on("loaded", () => {
    screenCaps.setupScreenCapture(win, index + 1);
    win.moveTo(element.bounds.x, element.bounds.y);
    win.enterFullscreen();
    win.enterKioskMode();
  });
});

0 个答案:

没有答案