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

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

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (15 by maintainers)

Most upvoted comments

I think we should deprecate and remove in favour of what we do with bidi and work towards cross browser compatibility

I am looking into this issue