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

com.github.arachnidium.model.support.annotations.TimeOut Maven / Gradle / Ivy

The newest version!
package com.github.arachnidium.model.support.annotations;

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

/**
 * This annotation is useful when 
 * default timeout of waiting for browser window 
 * with loaded page or mobile context 
 * by the given condition is not suitable 
 * for some UI (for example, it needs more time)
 * 
 * It this kind of situations customized time 
 * could be specified like this
 * 
 * 

* *

*

@TimeOut(timeOut = 15) *

public class ... * *

* There is an assumption that time unit * is seconds. */ @Target(value = {ElementType.TYPE, ElementType.FIELD}) @Retention(value = RetentionPolicy.RUNTIME) public @interface TimeOut { long timeOut(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy