Skip to content

Commit a56e5ef

Browse files
authored
Merge branch 'trunk' into renovate/mocha-11.x
2 parents be212cc + f68674c commit a56e5ef

File tree

7 files changed

+132
-90
lines changed

7 files changed

+132
-90
lines changed

.github/workflows/link-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Link check
4444
continue-on-error: true # <- If set to false, run fails with broken links
45-
uses: untitaker/[email protected].43
45+
uses: untitaker/[email protected].44
4646
with:
4747
args: website_and_docs/public/ --check-anchors
4848

examples/dotnet/SeleniumDocs/BiDi/CDP/NetworkTest.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
using OpenQA.Selenium;
55
using OpenQA.Selenium.DevTools;
66
using System.Linq;
7-
using OpenQA.Selenium.DevTools.V131.Network;
8-
using OpenQA.Selenium.DevTools.V131.Performance;
7+
using OpenQA.Selenium.DevTools.V132.Network;
8+
using OpenQA.Selenium.DevTools.V132.Performance;
99

1010

1111
namespace SeleniumDocs.BiDi.CDP
@@ -16,7 +16,7 @@ public class NetworkTest : BaseTest
1616
[TestInitialize]
1717
public void Startup()
1818
{
19-
StartDriver("131");
19+
StartDriver("132");
2020
}
2121

2222
[TestMethod]
@@ -37,7 +37,7 @@ public async Task BasicAuthentication()
3737
Assert.AreEqual("Congratulations! You must have the proper credentials.",
3838
driver.FindElement(By.TagName("p")).Text);
3939
}
40-
40+
4141
[TestMethod]
4242
public async Task RecordNetworkResponse()
4343
{
@@ -102,16 +102,16 @@ public async Task TransformNetworkRequest()
102102

103103
Assert.AreEqual("two", driver.FindElement(By.Id("result")).Text);
104104
}
105-
105+
106106
[TestMethod]
107107
public async Task PerformanceMetrics()
108108
{
109109
driver.Url = "https://www.selenium.dev/selenium/web/frameset.html";
110110

111111
var session = ((IDevTools)driver).GetDevToolsSession();
112-
var domains = session.GetVersionSpecificDomains<OpenQA.Selenium.DevTools.V131.DevToolsSessionDomains>();
112+
var domains = session.GetVersionSpecificDomains<OpenQA.Selenium.DevTools.V132.DevToolsSessionDomains>();
113113

114-
await domains.Performance.Enable(new OpenQA.Selenium.DevTools.V131.Performance.EnableCommandSettings());
114+
await domains.Performance.Enable(new OpenQA.Selenium.DevTools.V132.Performance.EnableCommandSettings());
115115
var metricsResponse =
116116
await session.SendCommand<GetMetricsCommandSettings, GetMetricsCommandResponse>(
117117
new GetMetricsCommandSettings()
@@ -130,8 +130,8 @@ await session.SendCommand<GetMetricsCommandSettings, GetMetricsCommandResponse>(
130130
public async Task SetCookie()
131131
{
132132
var session = ((IDevTools)driver).GetDevToolsSession();
133-
var domains = session.GetVersionSpecificDomains<OpenQA.Selenium.DevTools.V131.DevToolsSessionDomains>();
134-
await domains.Network.Enable(new OpenQA.Selenium.DevTools.V131.Network.EnableCommandSettings());
133+
var domains = session.GetVersionSpecificDomains<OpenQA.Selenium.DevTools.V132.DevToolsSessionDomains>();
134+
await domains.Network.Enable(new OpenQA.Selenium.DevTools.V132.Network.EnableCommandSettings());
135135

136136
var cookieCommandSettings = new SetCookieCommandSettings
137137
{

examples/dotnet/SeleniumDocs/Interactions/VirtualAuthenticatorTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void ShouldBeAbleToRemoveAuthenticator()
8686
((WebDriver)driver).RemoveVirtualAuthenticator(virtualAuthenticatorId);
8787

8888
// Since the authenticator was removed, any operation using it will throw an error
89-
Assert.ThrowsException<WebDriverArgumentException>(() => ((WebDriver)driver).GetCredentials());
89+
Assert.ThrowsException<InvalidOperationException>(() => ((WebDriver)driver).GetCredentials());
9090
}
9191

9292
[TestMethod]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: "Selenium Community Live - Episode 2"
3+
linkTitle: "Selenium Community Live - Episode 2"
4+
date: 2025-01-21
5+
tags: ["webinar", "meetup", "talks","community"]
6+
categories: ["webinar"]
7+
author: <a href="https://www.linkedin.com/in/pallavimuse/" target="_blank">Pallavi Sharma</a>
8+
images:
9+
description: >
10+
Selenium Community Live - Episode 2
11+
---
12+
13+
The second episode of Selenium Community Live happened on Jan 21st, 2025, with speaker **<a href="https://www.linkedin.com/in/theautomatedtester/" target="_blank">David Burns</a>**, event hosted by **<a href="https://www.linkedin.com/in/pallavimuse/" target="_blank">Pallavi Sharma</a>**
14+
15+
You can watch the episode here- **<a href="https://www.youtube.com/watch?v=0W_rYPxVIgA" target="_blank">Selenium Community Live - Episode 2</a>**
16+
17+
**Selenium Community Live - Episode 2**
18+
19+
David Burns, Selenium Project Leadership Member, Chair W3C Browser Testing and Tools Workgroup, Head Open source and Developer Advocacy at Browser Stack was the speaker for the episode. David spoke about Web Browsers and Browser engines, and how while automating them we should be aware of the underlying software we are automating, even the platform makes a difference!
20+
Thank you everyone who joined the community event.
21+
22+
**Meet the Speakers:**
23+
24+
1. **<a href="https://www.linkedin.com/in/theautomatedtester/" target="_blank">David Burns</a>**
25+
26+
27+
## Watch the Recording
28+
29+
Couldn’t join us live? Watch the entire episode here -
30+
📹 Recording Link: [Watch the Event Recording on YouTube](https://www.youtube.com/watch?v=0W_rYPxVIgA)
31+
32+
David also runs a blog, and if you are interested in knowing internals of Selenium explore the link -
33+
**<a href="https://www.theautomatedtester.co.uk/blog/how-selenium-works-transport/" target="_blank">Blog By David</a>**
34+
35+
Stay tuned as we bring the next! **<a href="https://www.youtube.com/@SeleniumHQProject/streams" target="_blank">Subscribe here to the Selenium HQ Official YouTube Channel.</a>**

0 commit comments

Comments
 (0)