Add sendEvent utility function

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
Francis Bouvier
2024-04-19 17:11:31 +02:00
parent ed38705efd
commit 9e13ffb8ff
4 changed files with 67 additions and 23 deletions

View File

@@ -168,6 +168,8 @@ fn navigate(
ctx.state.url = content.params.url;
ctx.state.loaderID = "AF8667A203C5392DBE9AC290044AA4C2";
var page = try ctx.browser.currentSession().createPage();
// output
const Resp = struct {
frameId: []const u8,