Skip to content

[🐛 Bug]: C# - v4.42.0 - After calling StopMonitoring() all further requests stay in state pending #17350

@DominiqueStr

Description

@DominiqueStr

Description

  • Setting up AddRequestHandler(someHandler) and StartMonitoring() to get sent payload of a specific request,
  • Then ClearRequestHandlers() is called.
  • Then StopMonitoring() is called.

After StopMonitoring() all further requests stay in state pending.
If StopMonitoring is removed, issue vanishes.

Chrome version 147.0.7727.56 - 64-Bit

Reproducible Code

var network = Driver.Manage().Network;

network.AddRequestHandler(someHandler); // add handler for specific URL-pattern
network.StartMonitoring();
// do something on website to trigger desired request
// assert payload of request
network.ClearRequestHandlers()

network.StopMonitoring() // -> causes above mentioned issue

ℹ️ Last known working version: 4.41.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-dotnet.NET BindingsD-chromeI-defectSomething is not working as intendedI-regressionSomething was working but we "fixed" itJ-awaiting answerQuestion asked of user; a reply moves it to triage againOS-windows

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions