C# Tutorial – Chromium Browser with Tabs using CefSharp | FoxLearn


How to make a Chromium Browser with Tabs using CefSharp in C#. The C# Basics beginner course is a free C# Tutorial Series that helps beginning programmers learn the basics of the C# Programming Language. This is the best way to Learn C# for beginners

c# – Tab control like Google Chrome tabs?
Advanced C# Web Browser
CEFSharp – Fast web browser for WinForms and WPF Apps
How to use CefSharp (chromium embedded framework c#) in a Winforms application
Embedding Chrome in your C# App using CefSharp – CodeProject
Embedded Chromium in WinForms



  1. Hi there ! 🙂
    I love ur tutorial ! But could you maybe anser me how I can get elements by #ByTagName ?
    And also get element #ById ?
    Bcs I want to read out a site and want to do simple things like push the button and put strings in for a login.
    In the "normal" browser with IE it's easy but I don't get it how I can handle it here.
    I searched and testet it nearly the whole day^^…
    I would appreciate any help a lot ! 🙂

  2. great nnice thanks … i want with this browser work with my office 365 account , but he dont store the account
    and I always have to enter it again every time I start …. will the cache be emptied?

  3. Only for WPF 10:32

    TabItem tab = new TabItem();
    tab.Header = "New tab";
    tabControl.SelectedIndex = (tabControl.Items.Count – 1);
    ChromiumWebBrowser chrome = new ChromiumWebBrowser ("https://www.google.com");
    tab.Content = chrome;

  4. hello plz help!
    when code: ChromiumWebBrowser chrome;
    hv 2 messages: Make field readonly
    and private member'form1.chrome' is unused
    thank you!

  5. Its not working in WPF App. I'm try adding this.container.Controls.Add(chrome), then figure out I have to use container.Children.Add(chrome) for WPF. But still not working.
    cannot convert from 'CefSharp.WinForms.ChromiumWebBrowser' to 'System.Windows.UIElement'

  6. The OutputPath property is not set for project 'WindowsFormsApp1.csproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='x64'. This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. WindowsFormsApp1 i guess rip?

  7. Hello! Thank you for the help, now I have a fully working web browser!
    One question about this: Can you add downloads, history and bookmarks here? If you can, could you make a tutorial about it?
    Thanks you! 🙂

  8. Fox Learn, can you please email me the source code, possibly with the sln file so I can see what errors I did wrong on a separate monitor without having to rewind and fast forward the video. My email is derekj1017@gmail.com

  9. hey FoxLearn…
    I like your tutorial. You are very nice in demonstrating. Check out my channel too. And tell me can I start uploading C#tutorials now or not. You are just to good. I can make many programs without any tuition. I learn them all form you. Thank You. If you read this please send me an email.
    Heres my channel Link:
    And Heres my email:

  10. Need the source code for further study. Can you please sent it to evilprince2009@gmail.com ? It would be very helpfull for us if you share your project codes in GitHub that you created in your tutorial. Anyways, your tuts are more than awesome , always !


Please enter your comment!
Please enter your name here