Lecrapouille / gdcef

[Plugin][Version 0.13.0][Functional] Chromium Embedded Framework Webview for Godot 3 and 4
https://discord.gg/EckEwy7S5U
MIT License
266 stars 31 forks source link

open a new frame ,can not get infomation #67

Open wangluodaxia opened 3 months ago

wangluodaxia commented 3 months ago

image

image should get new frame information

wangluodaxia commented 3 months ago

image

Lecrapouille commented 3 months ago

@wangluodaxia sorry I dis not understand your problem. Your first screenshot shows a callback. The frame argument is the main frame from your second screenshot, if I made things well. Do you want a direct method taking an URL and returning the HTML code?

Lecrapouille commented 3 months ago

Ah ok I take the point: related with #19 I'm not sure to solve this. I do not know if there is a callback triggered before the frame is created. If it exists I should create a new Godot texture and store it as child node, create a new browser view and normally the callback will pass the expected frame. Hard work.