aerokube / selenoid-ui

Graphical user interface for Selenoid project
https://aerokube.com/selenoid-ui/latest/
Apache License 2.0
305 stars 76 forks source link

Test name is not displayed on UI #517

Closed knastya closed 1 year ago

knastya commented 1 year ago

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

vania-pooh commented 1 year ago

@knastya what are your Selenoid and UI versions?

knastya commented 1 year ago

@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

vania-pooh commented 1 year ago

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

knastya commented 1 year ago

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