Selenium 4 with C# - Chrome DevTools Network Interception (Beta 2)

Selenium 4 with C# - Chrome DevTools Network Interception (Beta 2)

Execute Automation

3 года назад

11,686 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@sravaninamala1643
@sravaninamala1643 - 18.05.2023 10:28

How to dynamic version number in OpenQA.Selenium.DevTools.V113.DevToolsSessionDomains

Ответить
@vladv7019
@vladv7019 - 08.05.2023 23:17

Hi Khartik! I did all same as in your code but have an error when calling devTools.GetDevToolsSession():

OpenQA.Selenium.WebDriverException: Unexpected error creating WebSocket DevTools session.
---> System.NullReferenceException: Object reference not set to an instance of an object

What it can be the issue? I'm using C# .NET Core6.0

Ответить
@Satisfaction2k
@Satisfaction2k - 14.04.2023 14:38

Does anyone have an idea why when I create a unit test like in the video everything works great, and when I create a WinFormApp it doesn't work?
In the WinFormApp it always gets stuck at the following point:
//DevTools session
session = devTools.GetDevToolsSession();
The program never goes on there. Somehow there is a problem getting the DevToolSession?!?

Can someone tell me why that doesn't work or what I'm doing wrong?
I am using C# with Visual Studio Community 2022.

Ответить
@radhasya
@radhasya - 06.03.2023 10:45

karthik, could you please post all selenium 4 features wiith c # language.

Ответить
@MohitAesthetics
@MohitAesthetics - 22.05.2021 10:06

Hi can you please start Api Automation RestAssured BDD framework ?

Ответить
@crockodil
@crockodil - 19.05.2021 14:13

Can we put here username and password for domain?

Ответить
@nirmalchakraborty8608
@nirmalchakraborty8608 - 19.05.2021 07:45

Request to pls prepare more videos on c#

Ответить