dotnet/src/webdriver/dotnet/src/support/dotnet/test/common/bazel build //dotnet/...See dotnet/TESTING.md
using OpenQA.Selenium.Internal.Logging; private static readonly ILogger _logger = Log.GetLogger<MyClass>(); _logger.Warn("actionable: something needs attention"); _logger.Info("useful: driver started successfully"); _logger.Debug("diagnostic: request details for debugging");
[Obsolete("Use NewMethod instead")] public void OldMethod() { }
The codebase is migrating to async
Use XML documentation comments for public APIs:
/// <summary> /// Brief description. /// </summary> /// <param name="name">Description.</param> /// <returns>Description.</returns> /// <exception cref="ExceptionType">When condition.</exception>
C# files are formatted with dotnet format (style + whitespace). Run ./go format after changes; it will auto-fix most violations.
Key rules enforced (from dotnet/.editorconfig):
namespace Foo.Bar; not block-wrapped)System namespaces sorted firstusing directives (IDE0005 treated as warning)