Skip to content

Commit b2ed9bc

Browse files
committed
Merge branch 'main' into user/mikehoffms/extension-samples
2 parents 910efc8 + ee73441 commit b2ed9bc

5 files changed

Lines changed: 36 additions & 15 deletions

File tree

microsoft-edge/devtools-guide-chromium/evaluate-performance/selector-stats.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ Try to change your CSS selectors so they require less time to calculate, and mat
153153
<!-- ====================================================================== -->
154154
## See also
155155

156+
* [View CSS selector costs in the Performance tool sidebar](../whats-new/2024/11/devtools-131.md#view-css-selector-costs-in-the-performance-tool-sidebar) in _What's New in DevTools (Microsoft Edge 131)_.
156157
* [Introduction to the Performance tool](./index.md) - An introduction to analyzing runtime performance in DevTools.
157158
* [Performance features reference](./reference.md) - Covers many of the features in the **Performance** tool.
158159
* [The truth about CSS selector performance](https://blogs.windows.com/msedgedev/2023/01/17/the-truth-about-css-selector-performance/) - Windows blog post.
53 KB
Loading

microsoft-edge/devtools-guide-chromium/whats-new/2024/11/devtools-131.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ ms.date: 11/14/2024
1818

1919
<!-- Subtitle: The Visual Studio Code themes are removed and themes will revert to the default themes: Light+ or Dark+.-->
2020

21-
The Visual Studio Code themes feature is now deprecated. These themes will revert to the **System preference** theme by default. The **Light+** and **Dark+** themes continue to be supported.
21+
The Visual Studio Code themes feature is now deprecated. These themes will revert to the **System preference** theme by default. The **Light+** and **Dark+** themes continue to be supported. To select a theme, select **Customize and control DevTools** > **Preferences** > **Theme** drop-down menu:
22+
23+
![The Theme menu in DevTools Preferences](./devtools-131-images/themes-preferences.png)
24+
25+
See also:
26+
* [Check for contrast issues with dark theme and light theme](../../../../devtools-guide-chromium/accessibility/test-dark-mode.md)
2227

2328

2429
<!-- ====================================================================== -->
@@ -33,6 +38,11 @@ Previously, the following experiments that were enabled by default couldn't be d
3338

3439
This is now fixed, and you can disable these experiments.
3540

41+
See also:
42+
* [Enable webhint](../../../experimental-features/index.md#enable-webhint) in _Experimental features in Microsoft Edge DevTools_.
43+
* [Show issues in Elements](../../../experimental-features/index.md#show-issues-in-elements) in _Experimental features in Microsoft Edge DevTools_.
44+
* [Open source files in Visual Studio Code](../../../experimental-features/index.md#open-source-files-in-visual-studio-code) in _Experimental features in Microsoft Edge DevTools_.
45+
3646

3747
<!-- ====================================================================== -->
3848
## View CSS selector costs in the Performance tool sidebar
@@ -53,13 +63,23 @@ To view CSS selector costs:
5363

5464
1. Click the **CSS Selector costs** button to expand its section.
5565

66+
See also:
67+
* [Analyze CSS selector performance during Recalculate Style events](../../../evaluate-performance/selector-stats.md)
68+
5669

5770
<!-- ====================================================================== -->
58-
## Fixed edit field to exit after pressing tab after auto-completion
71+
## Fixed edit field to exit after pressing Tab after auto-completion
5972

6073
<!-- Press Tab after choosing an autocomplete option to exit the field.-->
6174

62-
Pressing **Tab** after auto-completion now exits the edit field and focuses on the next focus point. Before, pressing **Tab** would just indent the text.
75+
<!-- todo: where in DevTools? which tools? -->
76+
77+
Pressing the **Tab** key after auto-completion now exits the edit field and focuses on the next focus point. Before, pressing **Tab** would just indent the text.
78+
79+
<!-- todo
80+
See also:
81+
* []()
82+
-->
6383

6484

6585
<!-- ====================================================================== -->

microsoft-edge/extensions-chromium/developer-guide/sidebar.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@ ms.author: msedgedevrel
66
ms.topic: conceptual
77
ms.service: microsoft-edge
88
ms.subservice: extensions
9-
ms.date: 10/09/2023
9+
ms.date: 12/11/2024
1010
---
1111
# Develop an extension for the Microsoft Edge sidebar
1212

1313
As a Microsoft Edge extension developer, you can make your new or existing Microsoft Edge extension appear in the sidebar. Any extension can use the sidebar in addition to its other UI.
1414

1515
![The sidebar for a Microsoft Edge extension](./sidebar-images/sidebar-screenshot.png)
1616

17-
Note: The sidebar extensions feature is being rolled out to a growing user base for all channels of Microsoft Edge.<!-- todo: after rollout is complete, delete sentence -->
18-
1917
By using the Sidebar API for extensions, you can enhance the browsing experience by enabling users to view additional information alongside the main content of a webpage.
2018

2119
The _sidebar_ is a persistent pane located on the side of the browser, which coexists with the primary content of the browser. The sidebar reduces the need to constantly switch between tabs, resulting in a more productive browsing experience.
@@ -38,7 +36,7 @@ Extensions can optionally use the sidebar API to show a custom UI in the Microso
3836

3937
Features of the Sidebar API include:
4038

41-
* The sidebar remains open while navigating between tabs.
39+
* The sidebar remains open while navigating between tabs. Known issue: The sidebar is not automatically displayed again when the user switches to a tab in which the sidebar was previously open ([Issue #142](https://github.com/microsoft/MicrosoftEdge-Extensions/issues/142)).<!-- todo: update -->
4240

4341
* An extension in the sidebar can be made available for specific websites.
4442

@@ -153,6 +151,8 @@ chrome.tabs.onUpdated.addListener(async (tabId, info, tab) => {
153151

154152
When a user switches to a tab or site for which the sidebar is not enabled, the sidebar is hidden.
155153

154+
Known issue: The sidebar is not automatically displayed again when the user switches to a tab in which the sidebar was previously open ([Issue #142](https://github.com/microsoft/MicrosoftEdge-Extensions/issues/142)).<!-- todo: update -->
155+
156156
For a complete example, see [Site-specific side panel example](https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.sidepanel-site-specific).
157157

158158

@@ -323,7 +323,7 @@ See [Types](https://developer.chrome.com/docs/extensions/reference/sidePanel/#ty
323323
<!-- ====================================================================== -->
324324
> [!NOTE]
325325
> Portions of this page are modifications based on work created and [shared by Google](https://developers.google.com/terms/site-policies) and used according to terms described in the [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0).
326-
> The original page is found [here](https://developer.chrome.com/docs/extensions/reference/sidePanel/).
326+
> The original page is found [here](https://developer.chrome.com/docs/extensions/reference/api/sidePanel).
327327
328328
[![Creative Commons License](../../media/cc-logo/88x31.png)](https://creativecommons.org/licenses/by/4.0)
329329
This work is licensed under a [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0).

microsoft-edge/webdriver-chromium/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: msedgedevrel
66
ms.topic: conceptual
77
ms.service: microsoft-edge
88
ms.subservice: devtools
9-
ms.date: 09/24/2024
9+
ms.date: 12/12/2024
1010
---
1111
# Use WebDriver to automate Microsoft Edge
1212

@@ -281,7 +281,7 @@ You can pass an `EdgeOptions` object to the `EdgeDriver` constructor to configur
281281

282282
###### Choose Specific Browser Binaries
283283

284-
You can start a WebDriver session with specific Microsoft Edge binaries. For example, you can run tests using the [Microsoft Edge preview channels](https://www.microsoft.com/edge/download/insider), such as Microsoft Edge Beta, Dev, or Canary.
284+
You can start a WebDriver session with specific Microsoft Edge binaries. For example, you can run tests using the [Microsoft Edge preview channels](https://www.microsoft.com/edge/download/insider), such as Microsoft Edge Beta, Dev, or Canary, as follows:
285285

286286
##### [C#](#tab/c-sharp)
287287

@@ -328,13 +328,13 @@ let driver = edge.Driver.createSession(options);
328328

329329
###### Pass extra command-line arguments
330330

331-
You can use `EdgeOptions` to configure command-line arguments that will be passed to the Microsoft Edge browser process when a session is created. For example, you can configure the browser to run in headless mode.
331+
You can use `EdgeOptions` to configure command-line arguments that will be passed to the Microsoft Edge browser process when a session is created. For example, you can configure the browser to run in headless mode, as follows:
332332

333333
##### [C#](#tab/c-sharp)
334334

335335
```csharp
336336
var options = new EdgeOptions();
337-
options.AddArgument("headless");
337+
options.AddArgument("--headless=new");
338338

339339
var driver = new EdgeDriver(options);
340340
```
@@ -346,7 +346,7 @@ from selenium import webdriver
346346
from selenium.webdriver.edge.options import Options
347347

348348
options = Options()
349-
options.add_argument("headless")
349+
options.add_argument("--headless=new")
350350

351351
driver = webdriver.Edge(options = options)
352352
```
@@ -355,7 +355,7 @@ driver = webdriver.Edge(options = options)
355355

356356
```java
357357
EdgeOptions options = new EdgeOptions();
358-
options.addArguments("headless");
358+
options.addArguments("--headless=new");
359359

360360
EdgeDriver driver = new EdgeDriver(options);
361361
```
@@ -366,7 +366,7 @@ EdgeDriver driver = new EdgeDriver(options);
366366
const edge = require('selenium-webdriver/edge');
367367

368368
let options = new edge.Options();
369-
options.addArguments("headless");
369+
options.addArguments("--headless=new");
370370

371371
let driver = edge.Driver.createSession(options);
372372
```

0 commit comments

Comments
 (0)