hardkoded / puppeteer-sharp

Headless Chrome .NET API
https://www.puppeteersharp.com
MIT License
3.36k stars 440 forks source link

Problems with frames in frames #2656

Open 400ochkov opened 3 months ago

400ochkov commented 3 months ago

Hello, I faced issue with frames, if website has frames which nested in another frames puppeeteersharp cant handle it. I use code like

foreach (IFrame frame in page.Frames){Console.WriteLine("frame "+ frame.Url);}

and see only 2 frames when website has 6 frames each of them located in previous frame Also I tried foreach (var childFrame in frame.ChildFrames) {} but doesnt help I think it happened due to CORS

ps I work with antidetect browser, connect via ws