Skip to content

Commit

Permalink
feat: Override selenium default command timeout (#818)
Browse files Browse the repository at this point in the history
* Override selenium default command timeout

* make DefaultCommandTimeout protected
  • Loading branch information
Dor-bl committed Aug 29, 2024
1 parent 1e416a6 commit 11ad486
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Appium.Net/Appium/AppiumDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ public abstract class AppiumDriver : WebDriver,
{
private const string NativeApp = "NATIVE_APP";

/// <summary>
/// The default command timeout for HTTP requests in a AppiumDriver instance.
/// </summary>
protected static new readonly TimeSpan DefaultCommandTimeout = TimeSpan.FromSeconds(600.0);

#region Constructors

public AppiumDriver(ICommandExecutor commandExecutor, ICapabilities appiumOptions)
Expand Down

0 comments on commit 11ad486

Please sign in to comment.