Example usage for org.openqa.selenium BuildInfo BuildInfo

List of usage examples for org.openqa.selenium BuildInfo BuildInfo

Introduction

In this page you can find the example usage for org.openqa.selenium BuildInfo BuildInfo.

Prototype

BuildInfo

Source Link

Usage

From source file:org.openqa.grid.web.servlet.console.ConsoleServlet.java

License:Apache License

public ConsoleServlet(GridRegistry registry) {
    super(registry);
    coreVersion = new BuildInfo().getReleaseLabel();
}

From source file:org.openqa.grid.web.servlet.DisplayHelpHandler.java

License:Apache License

public DisplayHelpHandler(Json json, GridRole role, String consolePath) {
    this.json = Objects.requireNonNull(json);
    this.role = Objects.requireNonNull(role);

    this.servletConfig = new DisplayHelpServletConfig(new BuildInfo().getReleaseLabel(), getHelperType(),
            consolePath);//  w w w .  j  av a2s.  co m
}