简体   繁体   中英

CEF browser can't find Address property

I am using CEFsharp browser version 69 in my winforms solution, trying to get URL address but I can't find address property, or GETURL method.

is there any alternative to get loaded URL address?

   chromeBrowser = new ChromiumWebBrowser("http://ourcodeworld.com");
            // Add it to the form and fill it to the form window.
            chromeBrowser.Dock = DockStyle.Fill;
            chromeBrowser.LoadingStateChanged += ChromeBrowser_LoadingStateChanged;
            CEFbrowsercontainer.Controls.Add(chromeBrowser);

Just found URL address in another CEFSharp Event !

 private void ChromeBrowser_AddressChanged(object sender, AddressChangedEventArgs e)
    {
        chromecurrentURL = e.Address;
    }

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM