Skip to content

Commit 1a22016

Browse files
Merge pull request #3480 from MicrosoftDocs/main
main to live - 6/18/25
2 parents bab8e3c + b0420f3 commit 1a22016

24 files changed

Lines changed: 300 additions & 143 deletions

File tree

.openpublishing.redirection.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@
154154
"redirect_url": "/microsoft-edge/devtools-guide-chromium/sensors/#simulate-device-orientation",
155155
"redirect_document_id": false
156156
},
157+
{
158+
"source_path": "./microsoft-edge/devtools-protocol-chromium/index.md",
159+
"redirect_url": "/microsoft-edge/devtools/protocol/index",
160+
"redirect_document_id": false
161+
},
157162
// /Microsoft Edge DevTools
158163
// ============================================================================
159164
// Microsoft Edge extensions
@@ -1345,6 +1350,26 @@
13451350
"redirect_url": "https://github.com/microsoft/edge-selenium-tools/wiki/using-gpg-to-verify-selenium-tools-for-microsoft-edge-releases",
13461351
"redirect_document_id": false
13471352
},
1353+
{
1354+
"source_path": "./microsoft-edge/webdriver-chromium/capabilities-edge-options.md",
1355+
"redirect_url": "/microsoft-edge/webdriver/capabilities-edge-options",
1356+
"redirect_document_id": false
1357+
},
1358+
{
1359+
"source_path": "./microsoft-edge/webdriver-chromium/contact.md",
1360+
"redirect_url": "/microsoft-edge/webdriver/contact",
1361+
"redirect_document_id": false
1362+
},
1363+
{
1364+
"source_path": "./microsoft-edge/webdriver-chromium/ie-mode.md",
1365+
"redirect_url": "/microsoft-edge/webdriver/ie-mode",
1366+
"redirect_document_id": false
1367+
},
1368+
{
1369+
"source_path": "./microsoft-edge/webdriver-chromium/index.md",
1370+
"redirect_url": "/microsoft-edge/webdriver/index",
1371+
"redirect_document_id": false
1372+
},
13481373
// /WebDriver: "microsoft / edge-selenium-tools" repo
13491374
// ============================================================================
13501375
// Archived EdgeHTML content
@@ -4216,11 +4241,12 @@
42164241
"redirect_url": "/archive/microsoft-edge/legacy/developer",
42174242
"redirect_document_id": false
42184243
},
4244+
/* reused this source_path for Edge Chromium article
42194245
{
42204246
"source_path": "./microsoft-edge/webdriver/index.md",
42214247
"redirect_url": "/archive/microsoft-edge/legacy/developer",
42224248
"redirect_document_id": false
4223-
},
4249+
},*/
42244250
{
42254251
"source_path": "./microsoft-edge/webdriver/dialogs.md",
42264252
"redirect_url": "/archive/microsoft-edge/legacy/developer",

microsoft-edge/developer/index.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ landingContent:
210210
url: ../test-and-automation/test-and-automation.md
211211

212212
- text: DevTools Protocol
213-
url: ../devtools-protocol-chromium/index.md # https://learn.microsoft.com/microsoft-edge/devtools-protocol-chromium/
213+
url: ../test-and-automation/devtools-protocol.md # jump page
214214

215215
- text: Use Playwright to automate and test in Microsoft Edge
216216
url: ../playwright/index.md
@@ -219,7 +219,7 @@ landingContent:
219219
url: ../puppeteer/index.md
220220

221221
- text: Use WebDriver to automate Microsoft Edge
222-
url: ../webdriver-chromium/index.md
222+
url: ../webdriver/index.md
223223

224224
- text: webhint extension for Visual Studio Code
225225
url: ../visual-studio-code/webhint.md

microsoft-edge/devtools-guide-chromium/ie-mode/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Microsoft Edge doesn't support automating IE mode through the `InternetExplorer`
7575

7676
If your automation application doesn't require IE mode for the website (or app) content to function correctly, we recommend updating your application to use Microsoft Edge instead of Internet Explorer 11. Many available automation tools support Microsoft Edge, including WebDriver and Playwright.
7777

78-
* To learn more about automating Microsoft Edge using WebDriver, see [Use WebDriver to automate Microsoft Edge](../../webdriver-chromium/index.md).
78+
* To learn more about automating Microsoft Edge using WebDriver, see [Use WebDriver to automate Microsoft Edge](../../webdriver/index.md).
7979
* To learn more about using Playwright, see [Use Playwright to automate and test in Microsoft Edge](../../playwright/index.md).
8080

8181
Applications that require IE mode for the website (or app) content to function correctly should use the `WebBrowser` control. The `WebBrowser` control uses the Internet Explorer platform (MSHTML/Trident) to render web content, and will work even if the Internet Explorer 11 desktop application isn't available.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ These are the latest features in the Stable release of Microsoft Edge DevTools.
3434

3535
Microsoft Edge Dev is now supported on Ubuntu, Debian, Fedora, and openSUSE distributions. Download and install the Microsoft Edge Dev `.deb` or `.rpm` package directly from the [Microsoft Edge Insider site](https://www.microsoft.com/edge/download/insider?platform=linux) or use the standard package management tools of your Linux distribution.
3636

37-
If you are using a Linux environment in your continuous integration and delivery (CI/CD) solutions, Microsoft Edge WebDriver is also available on Linux. To get started automating Microsoft Edge with Microsoft Edge WebDriver, see [Recent versions](https://developer.microsoft.com/microsoft-edge/tools/webdriver#downloads) at the Microsoft Edge WebDriver page. For help with automating Microsoft Edge with Microsoft Edge WebDriver, see [Use WebDriver for test automation](../../../../webdriver-chromium/index.md).
37+
If you are using a Linux environment in your continuous integration and delivery (CI/CD) solutions, Microsoft Edge WebDriver is also available on Linux. To get started automating Microsoft Edge with Microsoft Edge WebDriver, see [Recent versions](https://developer.microsoft.com/microsoft-edge/tools/webdriver#downloads) at the Microsoft Edge WebDriver page. For help with automating Microsoft Edge with Microsoft Edge WebDriver, see [Use WebDriver for test automation](../../../../webdriver/index.md).
3838

3939
![DevTools in Microsoft Edge on Linux](./devtools-images/edge-on-linux.png)
4040

4141
See also:
42-
* [Use WebDriver to automate Microsoft Edge](../../../../webdriver-chromium/index.md)
42+
* [Use WebDriver to automate Microsoft Edge](../../../../webdriver/index.md)
4343

4444

4545
<!-- ====================================================================== -->

microsoft-edge/devtools-guide-chromium/whats-new/2022/02/devtools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Update: Starting with Microsoft Edge 131, the Visual Studio Code themes feature
4646
Starting June 15, 2022, Internet Explorer 11 will no longer be supported on certain versions of Windows 10. IE mode is a feature of Microsoft Edge for organizations that still need Internet Explorer 11 for compatibility with legacy websites or apps. To support testing of those legacy websites and apps, you can now automate IE mode with Selenium 4 and Internet Explorer Driver.
4747

4848
See also:
49-
* [Use Internet Explorer Driver to automate IE mode in Microsoft Edge](../../../../webdriver-chromium/ie-mode.md)
49+
* [Use Internet Explorer Driver to automate IE mode in Microsoft Edge](../../../../webdriver/ie-mode.md)
5050

5151

5252
<!-- ====================================================================== -->

microsoft-edge/devtools-guide-chromium/whats-new/2022/12/devtools-108.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To download Microsoft Edge WebDriver on Apple M1 devices:
3939
Thank you for your feedback on this issue!
4040

4141
See also:
42-
* [Use WebDriver to automate Microsoft Edge](../../../../webdriver-chromium/index.md)
42+
* [Use WebDriver to automate Microsoft Edge](../../../../webdriver/index.md)
4343
* [Microsoft Edge WebDriver](https://developer.microsoft.com/microsoft-edge/tools/webdriver/)
4444
* [Issue #17: Support for Apple silicon](https://github.com/MicrosoftEdge/EdgeWebDriver/issues/17)
4545

microsoft-edge/devtools-protocol-chromium/index.md renamed to microsoft-edge/devtools/protocol/index.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@ ms.date: 04/06/2021
99
---
1010
# Microsoft Edge DevTools Protocol
1111

12-
Use the DevTools Protocol to instrument, inspect, debug, and profile browsers including Microsoft Edge. The Microsoft Edge DevTools Protocol matches the APIs of the Chrome DevTools Protocol. For reference documentation, go to [Chrome DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/tot).
13-
14-
> [!NOTE]
15-
> With the shift in the underlying web platform of Microsoft Edge to Chromium, the [Microsoft Edge (EdgeHTML) DevTools Protocol](/archive/microsoft-edge/legacy/developer/devtools-protocol/index) won't be receiving any further updates. Going forward, the Microsoft Edge DevTools Protocol will match the APIs of the Chrome DevTools Protocol.
16-
>
17-
> Any methods that were prefixed with `ms` in the [Microsoft Edge (EdgeHTML) DevTools Protocol](/archive/microsoft-edge/legacy/developer/devtools-protocol/index) are no longer supported in the Microsoft Edge DevTools Protocol.
12+
Use the DevTools Protocol to instrument, inspect, debug, and profile browsers including Microsoft Edge. The Microsoft Edge DevTools Protocol matches the APIs of the Chrome DevTools Protocol. For Reference documentation, see [Chrome DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/tot).
1813

1914

2015
<!-- ====================================================================== -->
@@ -133,11 +128,11 @@ String("Target is closing")
133128
134129
You can install the [Remote Tools for Microsoft Edge](https://apps.microsoft.com/detail/9p6cmfv44zlt) from the [Microsoft Store](https://apps.microsoft.com). This app enables you to remotely debug Microsoft Edge running on a Windows 10 or later device from your development machine.
135130
136-
To learn how to set up your Windows device and connect to it from your development machine, see [Get started with remote debugging Windows devices](../devtools-guide-chromium/remote-debugging/windows.md).
131+
To learn how to set up your Windows device and connect to it from your development machine, see [Remotely debug Windows devices](../../devtools-guide-chromium/remote-debugging/windows.md).
137132
138-
The [Remote Tools for Microsoft Edge](https://apps.microsoft.com/detail/9p6cmfv44zlt) uses the same Microsoft Edge DevTools Protocol as [DevTools](../devtools-guide-chromium/overview.md) to communicate with Microsoft Edge running on the Windows 10 or later device you want to debug. This app just prepends `/msedge/` and a process ID (`pid`) before each call to the protocol. It supports the following HTTP endpoints.
133+
The [Remote Tools for Microsoft Edge](https://apps.microsoft.com/detail/9p6cmfv44zlt) app uses the same Microsoft Edge DevTools Protocol as used by Microsoft Edge DevTools, to communicate with Microsoft Edge running on the Windows 10 or later device you want to debug. This app just prepends `/msedge/` and a process ID (`pid`) before each call to the protocol.
139134
140-
The following Reference sections are for Remote Tools for Microsoft Edge.
135+
The Remote Tools for Microsoft Edge app supports the following HTTP endpoints; the Reference sections below are for Remote Tools for Microsoft Edge.
141136
142137
143138
<!-- ====================================================================== -->
@@ -161,7 +156,7 @@ None.
161156
<!-- ====================================================================== -->
162157
## /msedge/json/list
163158

164-
Provides a candidate list of all Microsoft Edge and WebView2 Runtime processes running on the connected device (including [PWAs](../progressive-web-apps-chromium/index.md)) and all tabs or targets in each process available for debugging.
159+
Provides a candidate list of all Microsoft Edge and WebView2 Runtime processes running on the connected device (including PWAs) and all tabs or targets in each process available for debugging.
165160

166161
**Parameters**
167162

@@ -201,6 +196,9 @@ None.
201196
]
202197
```
203198

199+
See also:
200+
* [Overview of Progressive Web Apps (PWAs)](../../progressive-web-apps-chromium/index.md)
201+
204202

205203
<!-- ====================================================================== -->
206204
## /msedge/
@@ -273,9 +271,17 @@ None.
273271
JSON object which represents the available API surface for the version of the protocol that the Microsoft Edge instance that matches the provided `[pid]` is using.
274272

275273

274+
<!-- ====================================================================== -->
275+
## EdgeHTML DevTools Protocol
276+
277+
With the shift in the underlying web platform of Microsoft Edge to Chromium, the [Microsoft Edge (EdgeHTML) DevTools Protocol](/archive/microsoft-edge/legacy/developer/devtools-protocol/index) won't be receiving any further updates. Going forward, the Microsoft Edge DevTools Protocol will match the APIs of the Chrome DevTools Protocol.
278+
279+
Any methods that were prefixed with `ms` in the [Microsoft Edge (EdgeHTML) DevTools Protocol](/archive/microsoft-edge/legacy/developer/devtools-protocol/index) are no longer supported in the Microsoft Edge DevTools Protocol.
280+
281+
276282
<!-- ====================================================================== -->
277283
## See also
278284

279285
* [Chrome DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/)
280-
* [Chrome DevTools Protocol (CDP)](../webview2/concepts/overview-features-apis.md#chrome-devtools-protocol-cdp) in _Overview of WebView2 APIs_
281-
* [Use the Chrome DevTools Protocol (CDP) in WebView2 apps](../webview2/how-to/chromium-devtools-protocol.md)
286+
* [Chrome DevTools Protocol (CDP)](../../webview2/concepts/overview-features-apis.md#chrome-devtools-protocol-cdp) in _Overview of WebView2 APIs_.
287+
* [Use the Chrome DevTools Protocol (CDP) in WebView2 apps](../../webview2/how-to/chromium-devtools-protocol.md)

microsoft-edge/extensions-chromium/update/api/addons-api-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ There are several responses, for different scenarios.
189189
###### Response when the operation fails with errors
190190

191191
```json
192-
{
192+
{
193193
"id": "{operationID}",
194194
"createdTime": "Date Time",
195195
"lastUpdatedTime": "Date Time",

microsoft-edge/extensions-chromium/update/api/using-addons-api.md

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,129 @@ See also:
546546
* [Check the publishing status](./addons-api-reference.md#check-the-publishing-status) in _REST API Reference for updating an extension at Microsoft Edge Add-ons_.
547547

548548

549+
<!-- ====================================================================== -->
550+
## Example: Check publication status and publish an extension with a PowerShell script
551+
552+
The following code is an example of a PowerShell script that uses the REST API to check the publication status of an extension, and publish that extension.
553+
554+
To use this script, fill in the `$ClientID`, `$ClientSecret`, `$ProductID`, and `$FilePATH` values at the top of the script.
555+
556+
```powershell
557+
Param(
558+
[string] $ClientID = '',
559+
[string] $ClientSecret = '',
560+
[string] $ProductID = '',
561+
[string] $FilePATH = '',
562+
[int] $RetryLimit = 10,
563+
[int] $RetryAfterPeriod = 5,
564+
[string] $ApiEndpoint = 'https://api.addons.microsoftedge.microsoft.com',
565+
[string] $PublishNotes = 'This is a test publish'
566+
)
567+
568+
function ReadKeyFromJSON($jsonContent, $keyToFetch){
569+
$jsonContent.TrimStart('{').TrimEnd('}').Split(',') |ForEach-Object {
570+
$key,$value = $_.Split(':')
571+
if($key.Trim('"') -eq $keyToFetch) {
572+
return $value.Trim('"')
573+
}
574+
}
575+
return ''
576+
}
577+
578+
function ReadLocationFromRawContent($jsonRawContent) {
579+
$jsonRawContent.Split([System.Environment]::NewLine, [System.StringSplitOptions]::RemoveEmptyEntries) | ForEach-Object {
580+
$key,$value = $_.Split(':')
581+
if ($key -eq 'Location') {
582+
return $value
583+
}
584+
}
585+
return ''
586+
}
587+
588+
$PublishNotesBody = @{
589+
notes = $PublishNotes
590+
}
591+
592+
$GetTokenHeaders = @{
593+
'Content-Type' = 'application/x-www-form-urlencoded'
594+
}
595+
596+
$UploadHeaders = @{
597+
"Authorization" = "ApiKey $ClientSecret"
598+
"Content-Type" = "application/zip"
599+
"X-ClientID" = "$ClientID"
600+
}
601+
602+
$uploadResponse = Invoke-WebRequest "$ApiEndpoint/v1/products/$ProductID/submissions/draft/package" -Headers $UploadHeaders -Method 'POST' -InFile $FilePATH
603+
604+
$uploadResponse
605+
606+
$uploadOperationId = ''
607+
608+
if($uploadResponse.StatusCode -eq 202) {
609+
"Upload Successful"
610+
$uploadOperationId = ReadLocationFromRawContent($uploadResponse.RawContent)
611+
}
612+
613+
$uploadStatusResponse = Invoke-WebRequest "$ApiEndpoint/v1/products/$ProductID/submissions/draft/package/operations/$UploadOperationId" -Headers $UploadHeaders -Method 'GET'
614+
615+
$uploadStatusResponse
616+
617+
$uploadStatus = 'InProgress'
618+
619+
if($uploadStatusResponse.StatusCode -eq 202) {
620+
"Upload Status Received Successfully"
621+
$retryCount = 1;
622+
while($uploadStatus -eq 'InProgress') {
623+
if($retryCount -gt $RetryLimit) {
624+
Exit-PSSession
625+
}
626+
$uploadStatusResponse = Invoke-WebRequest "$ApiEndpoint/v1/products/$ProductID/submissions/draft/package/operations/$UploadOperationId" -Headers $UploadHeaders -Method 'GET'
627+
$retryCount = $retryCount + 1
628+
Start-Sleep -Seconds $RetryAfterPeriod
629+
$uploadStatus = ReadKeyFromJSON($uploadStatusResponse.Content, 'status')
630+
}
631+
}
632+
633+
$publishResponse = Invoke-WebRequest "$ApiEndpoint/v1/products/$productID/submissions" -Headers $UploadHeaders -Method 'POST' -Body $PublishNotesBody
634+
635+
$publishResponse
636+
637+
$PublishOperationId = ''
638+
639+
if($publishResponse.StatusCode -eq 202) {
640+
"Published Successfully"
641+
$PublishOperationId = ReadLocationFromRawContent($publishResponse.RawContent)
642+
}
643+
644+
$PublishOperationId
645+
646+
$publishStatusResponse = Invoke-WebRequest "$ApiEndpoint/v1/products/$ProductID/submissions/operations/$PublishOperationId" -Headers $UploadHeaders -Method 'GET'
647+
648+
$publishStatusResponse
649+
650+
$publishStatus = 'InProgress'
651+
652+
$publishStatusResponse.Content
653+
654+
if($publishStatusResponse.StatusCode -eq 202) {
655+
"Publish Status Received Successfully"
656+
$retryCount = 1;
657+
while($publishStatus -eq 'InProgress') {
658+
if($retryCount -gt $RetryLimit) {
659+
Exit-PSSession
660+
}
661+
$publishStatusResponse = Invoke-WebRequest "$ApiEndpoint/v1/products/$ProductID/submissions/operations/$PublishOperationId" -Headers $UploadHeaders -Method 'GET'
662+
$retryCount = $retryCount + 1
663+
Start-Sleep -Seconds $RetryAfterPeriod
664+
$publishStatus = ReadKeyFromJSON($publishStatusResponse.Content, 'status')
665+
}
666+
}
667+
668+
$publishStatus
669+
```
670+
671+
549672
<!-- ====================================================================== -->
550673
## See also
551674
<!-- all links in article -->

microsoft-edge/index.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ conceptualContent:
368368
itemType: overview
369369

370370
- text: DevTools Protocol
371-
url: ./test-and-automation/devtools-protocol.md
371+
url: ./test-and-automation/devtools-protocol.md # jump page
372372
itemType: how-to-guide
373373

374374
- text: Use Playwright to automate and test in Microsoft Edge
@@ -380,7 +380,7 @@ conceptualContent:
380380
itemType: how-to-guide
381381

382382
- text: Use WebDriver to automate Microsoft Edge
383-
url: ./webdriver-chromium/index.md
383+
url: ./webdriver/index.md
384384
itemType: how-to-guide
385385

386386
- text: webhint extension for Visual Studio Code

0 commit comments

Comments
 (0)