T

Chrome Command Line Switches

43 views · updated 2026-07-01 · published 2026-07-01 · by Hasarinda Manjula · Microsoft Windows Reading time: 1 min English සිංහල

Overview

Command line switches මගින් ඔබට Chrome එක විශේෂ behavior එකකින් start කරන්න පුළුවන් — extensions disable කරන එක, incognito open කරන එක, local testing සඳහා certificate errors ignore කරන එක, ඒ වගේම තවත් දේවල්. මේවා browser එකේ shortcut එකට add කරනවා, නැත්නම් terminal එකකින් run කරනවා. මේ guide එකෙන් ඒවා use කරන්නේ කොහොමද කියලා පැහැදිලි කරනවා.

Key Takeaways

  • Switches මගින් Chrome එකේ settings ස්ථිරවම වෙනස් නොකර, එය launch වෙන ආකාරය පමණක් වෙනස් කරනවා.
  • ඔබ ඒවා Chrome shortcut එකක target field එකට add කරනවා, නැත්නම් terminal එකක run කරනවා.
  • සුලභ switches අතරට --incognito, --disable-extensions, සහ --new-window ඇතුළත් වෙනවා.
  • Switches troubleshooting, automation, සහ development සඳහා ප්‍රයෝජනවත්.

Add Switches to a Shortcut

1. ඔබේ Chrome shortcut එක right-click කරලා Properties තෝරන්න.

2. Target field එකේ, quotation marks වලට පස්සේ space එකක් දාලා, ඊට පස්සේ switch එක add කරන්න.

3. උදාහරණයක් විදිහට: "...\chrome.exe" --incognito

4. OK click කරලා shortcut එක open කරන්න, එතකොට Chrome එක ඒ switch එකත් එක්ක launch වෙනවා.

Useful Switches

  • --incognito — කෙලින්ම Incognito window එකක open වෙනවා.
  • --disable-extensions — troubleshooting සඳහා සියලුම extensions off කරලා Chrome start කරනවා.
  • --new-window "url" — නිශ්චිත site එකක් අලුත් window එකක open කරනවා.
  • --user-data-dir="path" — වෙනම profile directory එකකින් Chrome launch කරනවා.

Note: Switches apply වෙන්නේ ඒවා එක්ක start කරපු session එකට විතරයි. සාමාන්‍ය විදිහට launch වෙන්න shortcut එකෙන් switch එක remove කරන්න.

Troubleshooting

Problem: Switch එකෙන් කිසිම effect එකක් නැති වගේ.

Solution: switch එකට කලින් space එකක් තියෙනවාද කියලත්, එය target එකේ closing quotation mark එකට පස්සේ එනවාද කියලත් තහවුරු කරගන්න.

Problem: edit කරපු shortcut එකෙන් Chrome open වෙන්නේ නෑ.

Solution: switch එකේ spelling එක check කරලා, ඔබේ Chrome version එකේ deprecated වෙච්ච ඒවා remove කරන්න.

Problem: switch එක terminal එකෙන් වැඩ කරනවා, ඒත් shortcut එකෙන් නෑ.

Solution: ඔබ නිවැරදි shortcut එකයි edit කළේ කියලත්, දැනටමත් වෙන Chrome instance එකක් run වෙන්නේ නෑ කියලත් තහවුරු කරගන්න.

Problem: testing සඳහා use කරන switch එකක් security දුර්වල කරනවා.

Solution: security අඩු කරන switches වෙනම test profile එකක විතරක් use කරන්න, දවසේ සාමාන්‍ය browsing සඳහා කවදාවත් නෑ.

Conclusion

Command line switches මගින් Chrome එක start වෙන ආකාරය ගැන ඔබට සියුම් control එකක් ලැබෙනවා, ඒ නිසා ඒවා troubleshooting සහ development සඳහා ප්‍රයෝජනවත්. ඒවා එක shortcut එකකට apply කරලා, ඔබේ වැඩ ඉවර වුණාම ඒවා remove කරන්න.

About TechHub

මේ guide එක TechHub Knowledge Base එකේ කොටසක්. තව step-by-step IT guides සහ support වලට techhub.com.lk එකට යන්න.

Thanks for your feedback! 🙌

Read more

TechHub Assistant
Online · AI assistant
Thinking
⬇ Downloads 📦 Orders 🛒 Buy License 🎫 Create Ticket 🙋 Contact
AI-generated · may be inaccurate. Talk to a human