com.vaadin.testbench.annotations.RunOnHub Maven / Gradle / Ivy
/**
* Copyright (C) 2000-2022 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See for the full
* license.
*/
package com.vaadin.testbench.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.openqa.selenium.WebDriver;
/**
*
* Test classes annotated with RunOnHub will be run on the hub whose host is
* defined by its value. Default value is "localhost".
*
*
*
* This parameter will be used to instantiate the {@link WebDriver}.
*
*
* Usage:
*
* @RunOnHub("hub.host.example.com");
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface RunOnHub {
public String value() default "localhost";
}