MozillaReality / servo-unity

Servo for Unity - experimental
Other
319 stars 95 forks source link

Running javascript #4

Open bc opened 3 years ago

bc commented 3 years ago

Awesome implementation! Is there a good way to send arbitrary javascript (or receive) on a given website so I can affect the DOM & manipulate the site from the C# side? If not, what strategies could I take to achieve this? Thanks!

jdm commented 3 years ago

It might be possible to start the engine with the webdriver server enabled and use the execute script and execute async script methods to achieve this.