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

ru.yandex.qatools.htmlelements.annotations.Timeout Maven / Gradle / Ivy

package ru.yandex.qatools.htmlelements.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation that is used for setting waiting timeout value, which will be used for waiting an element to appear.
 * For example:
 * 

*

 * @FindBy(css = "my_form_css")
 * @Timeout(3)
 * public class MyForm extends HtmlElement {
 * @FindBy(css = "text_input_css")
 * @Timeout(3)
 * private TextInput textInput;
 * 

* // Other elements and methods here * } *

* * @author emaks [email protected] */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE, ElementType.FIELD}) public @interface Timeout { int value(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy