Skip to main content

Enabling Sidebar on Edge

Edge browser has a Sidebar to access the productivity tools and apps from it. You can access the Sidebar of the Edge browser in your automated test scripts for Browserstack Automate.

Supported OS and Edge version

OS Edge version
macOS & Windows 105 and above

Sidebar on the Edge browser

Using capability to enable Sidebar on Edge

By default Sidebar on the Microsoft Edge browser is diabled in Browserstack Automate. You can access Sidebar on the Microsoft Edge browser using the following capabilities.

Capability Description
enableSidebar Set this capability as "true" to enable and "false" to disable Sidebar on the Edge browser.
Capability Description
browserstack.edge.enableSidebar Set this capability as "true" to enable and "false" to disable Sidebar on the Edge browser.

For example:

MutableCapabilities capabilities = new MutableCapabilities();
capabilities.setCapability("browserName", "Edge");
HashMap<String, Object> edgeOptions = new HashMap<String, Object>();
edgeOptions.put("enableSidebar", "true");
browserstackOptions.put("edge", edgeOptions);
capabilities.setCapability("bstack:options", browserstackOptions);
var capabilities = {
	'bstack:options' : {
		'edge' : {
			"enableSidebar" : "true",
		},
	},
	"browserName" : "Edge",
}

EdgeOptions capabilities = new EdgeOptions();
Dictionary<string, object> browserstackOptions = new Dictionary<string, object>();
browserstackOptions.Add("browserName", "Edge");
Dictionary<string, object> edgeOptions = new Dictionary<string, object>();
edgeOptions.Add("enableSidebar", "true");
browserstackOptions.Add("edge", edgeOptions);
capabilities.AddAdditionalOption("bstack:options", browserstackOptions);
desired_cap = {
	'bstack:options' : {
		'edge' : {
			"enableSidebar" : "true",
		},
	},
	"browserName" : "Edge",
}

capabilities = {
	'bstack:options' => {
		'edge' => {
			"enableSidebar" => "true",
		},
	},
	"browserName" => "Edge",
}
DesiredCapabilities caps = new DesiredCapabilities();
caps.setCapability("browser", "Edge");
caps.setCapability("browserstack.edge.enableSidebar", "true");
var capabilities = {
    "browserName" : "Edge",
    "browserstack.edge.enableSidebar" : "true",
}
EdgeOptions capability = new EdgeOptions();
capability.AddAdditionalCapability("browser", "Edge");
capability.AddAdditionalCapability("browserstack.edge.enableSidebar", "true");
desired_cap = {
    "browser" : "Edge",
    "browserstack.edge.enableSidebar" : "true",
}
caps = Selenium::WebDriver::Remote::Capabilities.new
caps["browser"] = "Edge"
caps["browserstack.edge.enableSidebar"] = "true"

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Download Copy