Forum Discussion

bnagy's avatar
bnagy
Copper Contributor
Nov 02, 2020

Hide/disable the favorites bar programmatically for new tab windows

Is there a way to automatically hide/disable the favorites bar programmatically on startup with flags, selenium or other way? I know that from the options it can be disabled but when it is started with selenium the setting will be ignored and it will reappear. 

  • Kam's avatar
    Kam
    Silver Contributor
    bnagy It always hides the icon if you do my steps via Settings (I think options, as you call it)

    1. Type edge://settings in your search bar
    2. Go to Appearance
    3. Scroll down to "Customize Toolbar"
    4. Turn off "Show favorites button"
    • bnagy's avatar
      bnagy
      Copper Contributor

      Kammy problem is not related to the favorite button, I have issues with the favorite bar, I know I can disable from the settings, but when I open edge with selenium it will reappear and it will change the page sizes(please find the attached picture). This is why I want to disable it via selenium or command line argument or somehow programmatically.

       



      • Kam's avatar
        Kam
        Silver Contributor
        Somehow? Ok, Edge should have a coding studio or something.

Resources