com.github.arachnidium.model.support.annotations.classdeclaration.IfBrowserDefaultPageIndex Maven / Gradle / Ivy
package com.github.arachnidium.model.support.annotations.classdeclaration;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation is for
* UI specifications when it is
* possible the interaction with
* more than one browser window at the same time.
*
* If some page is always loaded at the first window (or second
* and so on) the class-specification could be marked
* by the annotation.
*
* Examples:
*
*
*
*
@IfBrowserDefaultPageIndex(index = 0) //is always on the first browser window
*
public class ...
*
*
* or
*
*
*
*
@IfBrowserDefaultPageIndex(index = 1) //is always on the second browser window
*
public class ...
*
*
*/
@Target(value = ElementType.TYPE)
@Retention(value = RetentionPolicy.RUNTIME)
public @interface IfBrowserDefaultPageIndex {
/**
* @return The specified default browser window index
*/
int index();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy