Notalib / nativescript-webview-ext

Nativescript plugin with extended WebView functionality
Apache License 2.0
76 stars 37 forks source link

Can this extension access the webpage DOM? #63

Closed erjdriver closed 4 years ago

erjdriver commented 4 years ago

Will this extension allow me to access a website and acess it's DOM.

Also submit POST and initiate GET operations.

Basically - emulate a user interactive session.

Thanks.

m-abs commented 4 years ago

If you can do it by running JavaScript in the webpage, yes.

erjdriver commented 4 years ago

I thank you for the extension and will try it out.

The demo app could really use some documentation.

Not very clear - also looks like a local webserver is required.

It will also be more helpful if you hosted a web-page and the demo could access it.

Some DOM manipulation - would be useful.

m-abs commented 4 years ago

The demo needs to be started via the npm-scripts in the src-folder, this is needed to build the bridge and launch the web-server.

Use npm run demo.android or npm run demo.ios.