Search code examples
unity-game-enginebrowserembedded-browser

Unity Embedded Browser Asset from Zen Fulcrum - Cant find the HTML File


How can I obtain the HTML content of a page loaded in the Embedded Browser asset for Unity?

I have been trying to get the HTML content of a loaded page for the past three days without success.

I would greatly appreciate it if someone could provide me with some guidance on how to obtain the HTML content of a page loaded in the Embedded Browser asset. Is there a specific function or method that I should be using? Or is there some other way to access the HTML content?

Thank you in advance for any help or advice that can be provided.

I have been trying to get the HTML content of a loaded page.

Is there a specific function or method that I should be using? Or is there some other way to access the HTML content?


Solution

  • I Found a Solution guys just like this:

    browser.EvalJS("document.documentElement.outerHTML").Then(res => Debug.Log("Document contents: " + res)).Done();