Auto News: Upcoming Cars and Bikes, New Launches, Price and Reviews | Times of India

Saturday, 28 October 2023

What is --no-sandbox in google chrome??



What is sandBox?
Thsandbox is a C++ library that allows the creation of sand boxed processes. 

That processes that execute within a very restrictive environment. The only resources sand boxed processes can freely use are CPU cycles and memory.

Functionally sandbox limits the severity of bugs in code running inside the sandbox. Such bugs cannot install persistent malware in the user‘s account (because writing to the file system is banned). Such bugs also cannot read and steal arbitrary files from the user’s machine.

This use case

A common cause for Chrome to crash during startup is running Google Chrome. The reason of Chrome crash may be Virus effect or windows operating system (OS) corrupted. At this situation Chrome can work normally by passing the issue --no-sandbox flag when creating your Web Driver session.

Such a configuration is unsupported and highly discouraged also vulnerable for your system. You need to configure your environment to run Chrome as a regular user instead.

 

Procedure:

·          Right click on Google Chrome  →Properties




·                   Find Target row then write”"--no-sandbox”” end of chrome.exe

       Like   "C:\Program Files\Google\Chrome\Application\chrome.exe"--no-sandbox



Thank you.

No comments: