aerokube/selenoid-ui

Test name is not displayed on UI

knastya opened this issue · 4 comments

If I send 'name' using selenoid:options it doesn't display on UI.

Map<String, Object> selenoidOptions = new HashMap<>();
selenoidOptions.put("name", myTestName);
options.setCapability("selenoid:options", selenoidOptions);

It displays only if I use old way: caps.setCapability("name", myTestName);, but it produces next warning:

org.openqa.selenium.remote.RemoteWebDriver checkNonW3CCapabilities
WARNING: Support for Legacy Capabilities is deprecated; You are sending the following invalid capabilities: [name]; Please update to W3C Syntax: https://www.selenium.dev/blog/2022/legacy-protocol-support/

Selenium version: 4.7.2

@knastya what are your Selenoid and UI versions?

@vania-pooh selenoid-ui 1.9.1 + selenoid/vnc:chrome_112.0, selenoid/firefox:108.0
as I understand we don't use selenoide, we have our system of orchestration

@knastya obviously name capability is being handled in Selenoid, so if you don't use Selenoid this will not work.

@vania-pooh Thanks! We fixed it on our side