Hide/disable the favorites bar programmatically for new tab windows

%3CLINGO-SUB%20id%3D%22lingo-sub-1844503%22%20slang%3D%22en-US%22%3EHide%2Fdisable%20the%20favorites%20bar%20programmatically%20for%20new%20tab%20windows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1844503%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22bnagy_1-1604326335625.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F230825i3D999B8627F01971%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22bnagy_1-1604326335625.png%22%20alt%3D%22bnagy_1-1604326335625.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20automatically%20hide%2Fdisable%20the%20favorites%20bar%20programmatically%20on%20startup%20with%20flags%2C%20selenium%20or%20other%20way%3F%20I%20know%20that%20from%20the%20options%20it%20can%20be%20done%20but%20when%20it%20is%20started%20with%20selenium%20the%20setting%20will%20be%20ignored.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1844940%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%2Fdisable%20the%20favorites%20bar%20programmatically%20for%20new%20tab%20windows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1844940%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F854495%22%20target%3D%22_blank%22%3E%40bnagy%3C%2FA%3E%20It%20always%20hides%20the%20icon%20if%20you%20do%20my%20steps%20via%20Settings%20(I%20think%20options%2C%20as%20you%20call%20it)%3CBR%20%2F%3E%3CBR%20%2F%3E1.%20Type%20edge%3A%2F%2Fsettings%20in%20your%20search%20bar%3CBR%20%2F%3E2.%20Go%20to%20Appearance%3CBR%20%2F%3E3.%20Scroll%20down%20to%20%22Customize%20Toolbar%22%3CBR%20%2F%3E4.%20Turn%20off%20%22Show%20favorites%20button%22%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1876059%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%2Fdisable%20the%20favorites%20bar%20programmatically%20for%20new%20tab%20windows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1876059%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F565232%22%20target%3D%22_blank%22%3E%40Kam%3C%2FA%3Emy%20problem%20is%20not%20related%20to%20the%20favorite%20button%2C%20I%20have%20issues%20with%20the%20favorite%20bar%2C%20I%20know%20I%20can%20disable%20from%20the%20settings%2C%20but%20when%20I%20open%20edge%20with%20selenium%20it%20will%20reappear%20and%20it%20will%20change%20the%20page%20sizes(please%20find%20the%20attached%20picture).%20This%20is%20why%20I%20want%20to%20disable%20it%20via%20selenium%20or%20command%20line%20argument%20or%20somehow%20programmatically.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22bnagy_0-1605096107623.png%22%20style%3D%22width%3A%20928px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F232902i8C13B5FB73984534%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22bnagy_0-1605096107623.png%22%20alt%3D%22bnagy_0-1605096107623.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

bnagy_1-1604326335625.png

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. 

5 Replies
Highlighted
@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"
Highlighted

@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.

bnagy_0-1605096107623.png

 



Highlighted
Somehow? Ok, Edge should have a coding studio or something.
Highlighted

@KamI think you misunderstood something, I want to start edge with automation using selenium and hide or disable the favorites bar. I want to do this from code via a command line argument or a selenium option if possible. I wanted to ask if something like this exists because nothing is documented on this topic by Microsoft.

Highlighted
@bnagy Oh, ok. Now I get it. I don't think anything like that exists.