nbb

borkdude 2022-09-28T17:52:00.249329Z

Generating a pageFunction for playwright usage: https://twitter.com/borkdude/status/1575181132080943104 A pageFunction in playwright is a function that is executed in the page, where you pretty much have to rely on pure JS without pulling in any CLJS. You can generate such JS with #squint which is what I did in the tweet. Weirdly enough, playwright requires you to define the function in the Node.js runtime and then serializes it, instead of just passing a string which is evaluated in the browser.

1
mkvlr 2022-09-28T18:34:01.382589Z

cc @philippmarkovics

philippamarkovics 2022-09-28T18:34:04.877799Z

@philippmarkovics has joined the channel