Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does the Brave browser have Chrome's dev-tools?

Really Quick question:

Why does the Brave browser have Chrome's dev-tools?

Does this also mean that I don't need to test my website in Brave if it works in Chrome?

Thanks :)

like image 470
Jonas Bergner Avatar asked Sep 13 '17 22:09

Jonas Bergner


People also ask

Why can I access the Chrome Dev Tools inside brave?

This site houses the documentation and code related to the Chromium projects and is intended for developers interested in learning about and contributing to the open-source projects. So thats why you can access the chrome dev tools inside Brave.

What do people think about Brave browser?

They are concerned about their bookmarks, extensions, password manager, and so forth. One good feature of Brave is that it is built on Chromium, which is also the foundation of Chrome. Except that Brave does not contain all of Google’s malware. As a result, it looks and feels very similar to Chrome.

What is the difference between Brave and chrome?

It is pretty similar because the chrome architecture serves as the base for both of these browsers. In terms of User Interface, the Chrome browser beats the Brave browser due to its heavy user customization options.

How do I automate the Brave browser?

Tools like puppeteer use Chrome by default but we can use the following code to automate the Brave browser. Make sure to set the executablePath and userDataDir variables relevant to your system. The console on Brave can be opened with CTRL + SHIFT + J and this will seem very familiar to anyone that’s used Chrome’s dev tools.


1 Answers

Take a look at their github page. Especially the tags they added:

enter image description here

Notice the word "Electron", now I could explain to you what Electron is but they have an excellent explanation on their Electron Home page:

Electron is an open source library developed by GitHub for building cross-platform desktop applications with HTML, CSS, and JavaScript. Electron accomplishes this by combining Chromium and Node.js into a single runtime and apps can be packaged for Mac, Windows, and Linux.

As you can see, Electron uses "Chromium". I could explain but.... you've guessed it they offer a great explanation themselves:

The Chromium projects include Chromium and Chromium OS, the open-source projects behind the Google Chrome browser and Google Chrome OS, respectively. This site houses the documentation and code related to the Chromium projects and is intended for developers interested in learning about and contributing to the open-source projects.

So thats why you can access the chrome dev tools inside Brave.

On to your other question:

I don't need to test in Brave if my website works in Chrome?

Yes and no, you can be fairly certain that Brave will do everything Chromium does. But in the end we can't be certain what Brave does to the pages loaded through it. Having said that I won't be giving you a firm answer on this :)

(PS: if you set up automatic testing it doesn't really matter if you have to test another browser)

like image 131
Rick van Lieshout Avatar answered Sep 21 '22 17:09

Rick van Lieshout