Page 1 of 1

loadURL does not work

PostPosted: Wed Jul 31, 2019 3:26 am
by guich
Hi,

I'm using jCEF and am trying to do a simple thing: load an url before the first url is shown.

I tried this:

browser = client.createBrowser("127.0.0.1", true, false); // already tried: about:blank, "", null, http://www.google.com
... later,
browser.loadURL("www.google.com");

The results is that only the address passed on createBrowser works... the loadURL fails, and no logs are sent to console, even using LOGSEVERITY_VERBOSE

any clues?

thanks

guich

Ps: i'm using binaries from https://mvnrepository.com/artifact/com. ... oraig/jcef

Re: loadURL does not work

PostPosted: Wed Jul 31, 2019 7:59 am
by magreenblatt
You need to pass fully qualified URLs to loadURL.