Skip to content

[πŸ› Bug]: Pages are much slower to load when Network monitoring is enabledΒ #14300

@mmalandra-kb4

Description

@mmalandra-kb4

What happened?

When using dotnet bindings with network monitoring enabled, pages with a lot of network calls can be extremely slow to load.

driver.Quit();
Relevant log output

Operating System

Selenium version
4.22

What are the browser(s) and version(s) where you see this issue?
Chrome

What are the browser driver(s) and version(s) where you see this issue?

Are you using Selenium Grid?
This occurs with and without grid.

How can we reproduce the issue?

using OpenQA.Selenium.Chrome;

var driver = new ChromeDriver();

var network = driver.Manage().Network;

await network.StartMonitoring();

driver.Url = "https://yahoo.com";

Relevant log output

There are no logs related to this, but if you compare the time it takes for the page to load with monitoring enabled vs disabled, it can be different by a magnitude of about 10-20x.

Operating System

MacOS/Linux

Selenium version

dotnet 4.22

What are the browser(s) and version(s) where you see this issue?

Chrome 126

What are the browser driver(s) and version(s) where you see this issue?

chromedriver 126

Are you using Selenium Grid?

Occurs with and without grid (

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-dotnet.NET BindingsI-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions