Run Brave with no extra tabs in Command Line

Description of the issue:
i am trying to automate some Windows11 desktop environments for productivity, this includes spawning Brave windows without extra pages like recovered ones.

i have been playing around with the command line arguments and i feel like im doing something wrong because a lot of them don’t work for me.

this is what i have tried.
“brave.exe” --restore-last-session=false --disable-restore-session-state --new-window “https://www.google.com"

i tried a lot of other combinations

How can this issue be reproduced?

  • install brave
  • open a CMD
  • change into dir “C:\Program Files\BraveSoftware\Brave-Browser\Application“
  • run brave the way i mentioned earlier

Expected result:
i expected a raw brave window without any other page

Brave Version (check About Brave): 1.87.191

pls send suggestions, this is important for me!

@cucubocubo

Suggest (notice, no double-quotes around brave.exe):

Tested OK:

brave.exe --new-window "https://www.google.com" --restore-last-session=false --disable-restore-session-state

I tested the following on a Mac (double-quotes are used in this case):

open -a "Brave Browser" -n --args --new-window "https://www.google.com" --restore-last-session=false --disable-restore-session-state

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.