B4J Question webview Incompatible

ivanomonti

Expert
Licensed User
Longtime User
very often I encounter this problem but I would like to solve it once and for all, the problem is how?

It's possible that technology moves forward and much else doesn't keep up, a webview should be like a Chrome, Safari, etc. etc. but it seems that this isn't the case

is there a solution?


 

Magma

Expert
Licensed User
Longtime User
@ivanomonti ...Well.. I think that the problem is not the webview... but the way of using...
Why? ... because if webview had all the tech of a browser... then webview had to be a hacker tool... why ? imagine creating a loop trying to login that will a bruteforce system... that's why is not doing for that purpose...

But for login to some accounts needed to use new technology... like SOAP/ API giving you the service wanna login... sometimes give a token too.. and most times communicate using json...

Technology moves forward so all services... or the most need to use their API to connect to them...

The only way to use webview to login somewhere is if the webpage gonna connect using simple GET tech... and as i know the most of webmasters not using it anymore...

The bad in all these... is to know everytime how will connect to every service and how will get the info... so you must learn everytime the API needed :-(

ps: There is also Selenium that is something like browser... and use like use by a Robot... but also for me this is not the right way "today" to connect somewhere...
 
Upvote 0

Daestrum

Expert
Licensed User
Longtime User
If you want a 'Chrome' like browser in JavaFX, you could look at JxBrowser, but be warned, it comes with a hefty licence fee. (US $1800 / year).
 
Upvote 0

Magma

Expert
Licensed User
Longtime User


...i am curious if that work with new tech pages.... not for the cookies... but allowing login... from webview... hmmm... nice... if can be done...
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…