Posted on February 7, 2023

DotNetBrowser 2.20.1

What’s new

Chromium

We’ve bumped Chromium to version 108.0.5359.215.

Clearing HTTP authentication cache

The API has been extended with functionality that allows you to clear HTTP authentication cache:

profile.HttpAuthCache.Clear();

Forwarding mouse modifiers

With these changes, it is possible to forward mouse modifiers along with the mouse input events to indicate which mouse buttons are in the pressed state during these events. For instance, we can simulate the mouse moved event with the left mouse button pressed:

MouseMovedEventArgs moveEvent = new MouseMovedEventArgs
{
    Location = location,
    MouseModifiers = new MouseModifiers
    {
        PrimaryButtonDown = true
    };
};

browser.Mouse.Moved.Raise(moveEvent);

Quality enhancements

  • Fixed issue when point inspection returned DOM node objects bound to an incorrect frame.

Download DotNetBrowser 2.20.1 (.NET Framework)
Download DotNetBrowser 2.20.1 (.NET Core)
Download DotNetBrowser 2.20.1 (Cross-platform)

Get free 30-day trial

Go Top