com.vaadin.testbench.elementsbase.Element 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.elementsbase;
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 com.vaadin.testbench.ElementQuery;
/**
* Defines the tag name of the element class.
*
* Used when looking up elements using {@link ElementQuery}.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface Element {
/**
* The tag for the element.
*
* @return the tag for the element
*/
String value();
}