Skip to content

Commit a1634e1

Browse files
committed
Behaviour change: Quirks enabled by default
1 parent ec747e8 commit a1634e1

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

CSF.Extensions.WebDriver/Factories/WebDriverCreationOptions.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,10 @@ public class WebDriverCreationOptions
248248
/// </summary>
249249
/// <remarks>
250250
/// <para>
251-
/// For more information about this functionality, please see the documentation for <see cref="Quirks.IHasQuirks"/>
251+
/// If this property is set to <see langword="true"/> (which is the default if left unset) then the implementation of
252+
/// <see cref="IWebDriver"/> returned by the factory which uses this object as a parameter will be enriched and will implement
253+
/// <see cref="Quirks.IHasQuirks"/>.
254+
/// For more information about this functionality, please see the documentation for the <see cref="Quirks.IHasQuirks"/> interface.
252255
/// </para>
253256
/// <para>
254257
/// This functionality, if enabled, will mean that the WebDriver returned by the factory will be a proxy object and not the
@@ -260,6 +263,6 @@ public class WebDriverCreationOptions
260263
/// browser identification will always be added to the proxy when quirks are added.
261264
/// </para>
262265
/// </remarks>
263-
public bool AddBrowserQuirks { get; set; }
266+
public bool AddBrowserQuirks { get; set; } = true;
264267
}
265268
}

0 commit comments

Comments
 (0)