All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.testbench.annotations.RunLocally 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;

import com.vaadin.testbench.parallel.Browser;

/**
 * Marks this testcase to run locally.
* Can receive a parameter to define which browser and version to run the test * on.
*

* You can also define a browser name/version to run on locally using the * {@code com.vaadin.testbench.Parameters.runLocally} system parameter. *

* This parameter will be used to instantiate the {@link WebDriver}.
*

* *

* Usage:
* {@code @RunLocally(Browser.CHROME)} *

*/ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Inherited public @interface RunLocally { public Browser value() default Browser.FIREFOX; public String version() default ""; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy