carol icon indicating copy to clipboard operation
carol copied to clipboard

Can I use microsoft edge to provide UI?

Open kitepad opened this issue 4 years ago • 2 comments

kitepad avatar May 24 '20 15:05 kitepad

@kitepad This module internally uses Chrome DevTools Protocol. So it may work with Chromium-based Edge (but I haven't tested it yet).

import { launch } from "https://deno.land/x/[email protected]/mod.ts";

const pathToEdge = "...";
const app = await launch({
  executablePath: pathToEdge,
  title: "Hello carol app!",
  width: 480,
  height: 320
});

app.onExit().then(() => Deno.exit(0));

await app.load("data:text/html,<div>Hello, world!</div>");

uki00a avatar May 24 '20 15:05 uki00a

https://github.com/zserge/lorca/issues/26

uki00a avatar May 24 '20 15:05 uki00a