Docs · API reference · Motus.Abstractions

BrowserPoolOptions Class#

Configuration for a browser pool.

public sealed record BrowserPoolOptions : System.IEquatable<Motus.Abstractions.BrowserPoolOptions>

Inheritance System.Object → BrowserPoolOptions

Implements System.IEquatable<BrowserPoolOptions>

Properties#

AcquireTimeout Property#

How long to wait when all browsers are busy before timing out.

public System.TimeSpan AcquireTimeout { get; init; }

Property Value#

System.TimeSpan

LaunchOptions Property#

Launch options applied to each browser in the pool.

public Motus.Abstractions.LaunchOptions? LaunchOptions { get; init; }

Property Value#

LaunchOptions

MaxInstances Property#

Maximum number of concurrent browser instances.

public int MaxInstances { get; init; }

Property Value#

System.Int32

MinInstances Property#

Minimum number of browser instances to keep warm.

public int MinInstances { get; init; }

Property Value#

System.Int32