Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use microsoft edge to provide UI? #12

Open
kitepad opened this issue May 24, 2020 · 2 comments
Open

Can I use microsoft edge to provide UI? #12

kitepad opened this issue May 24, 2020 · 2 comments
Labels
documentation Improvements or additions to documentation windows Related to Windows

Comments

@kitepad
Copy link

kitepad commented May 24, 2020

No description provided.

@uki00a
Copy link
Owner

uki00a commented May 24, 2020

@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
Copy link
Owner

uki00a commented May 24, 2020

zserge/lorca#26

@uki00a uki00a added documentation Improvements or additions to documentation windows Related to Windows labels Dec 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation windows Related to Windows
Projects
None yet
Development

No branches or pull requests

2 participants