Yad Smood

Results 349 comments of Yad Smood

Because, it depends on the runtime config, such as page view resolution, you can't know it without making a cdp call.

A temp solution is to use `PageFromTargetID` to create a standalone page for the iframe: ```go package main import ( "github.com/go-rod/rod" "github.com/go-rod/rod/lib/defaults" "github.com/go-rod/rod/lib/proto" "github.com/go-rod/rod/lib/utils" ) func main() { defaults.Show =...

I think it's a bug of devtools, I don't know why `Pierce: true` can't get the content of the iframe: https://github.com/go-rod/rod/blob/14ebb72947cc99e916ed97897473be2b6c64f39d/page_eval.go#L349

I can confirm that puppeteer has the same issue, the code below will crash: ```js const puppeteer = require('puppeteer'); (async () => { const browser = await puppeteer.launch({ headless: false...

@tlopo I have opened an issue on puppeteer, but no update yet

Need some time to investigate it.

I tried to use the image, seems like AWS lambda has a lot of limitations for a docker container, such as you can't use the root user, and memory size...

@YoungiiJC This is awesome, thank you!

@YoungiiJC I made a PR to slightly make it less resource consuming, can you help to check if it works as expect: https://github.com/YoungiiJC/go-rod-aws-lambda/pull/1

Yes, I agree. I tried it on my local, not easy. Most solutions have to use FFmpeg (chrome doesn't support casting well yet, it can only stream png frames), I...