Skip to content

[🐛 Bug]: Re-add logging endpoints to Grid #10949

@titusfortner

Description

@titusfortner

What happened?

When running on Grid, the logging endpoints return an error (all browsers except for Chrome).

org.openqa.selenium.UnsupportedCommandException: The command 'GET /session/167E1FE8-9D49-4B7A-94FB-D36B77AC51D1/se/log/types' was not found.

We should add those endpoints to Grid, and add anything received from the driver.

Adding the Session logs for grid would be a nice bonus, but this shouldn't error.

How can we reproduce the issue?

Capabilities options = new SafariOptions();
driver = new RemoteWebDriver(new URL("http://localhost:4444/wd/hub"), options);
driver.manage().logs().getAvailableLogTypes();

Operating System

n/a

Selenium version

4.4.0

What are the browser(s) and version(s) where you see this issue?

Firefox, Safari

What are the browser driver(s) and version(s) where you see this issue?

n/a

Are you using Selenium Grid?

4.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs decisionTLC needs to discuss and agreeB-gridEverything grid and server relatedI-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions