selenium icon indicating copy to clipboard operation
selenium copied to clipboard

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

Open titusfortner opened this issue 3 years ago • 0 comments

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

titusfortner avatar Aug 16 '22 13:08 titusfortner