Skip to content

Specify LogPath variable in C# #7259

@rj-max

Description

@rj-max

Is it possible to provide a way to specify LogPath in FirefoxDriverService class with dotnet bindings? I have a VM running tests using Selenium WebDriver and it crashes frequently. Without enabling these logs, it's not possible to dig deeper. I notice that this log_path is available in Python language bindings but not dotnet.

 var service = FirefoxDriverService.CreateDefaultService
 (Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
 service.LogPath = "C:\geckodriver.log";

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions