Annotation Type Qualifier


  • @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface Qualifier
    Determines an annotation to acts as qualified for telling different Drone Drivers apart.

    Usage:

    
     @Drone WebDriver instance1;
     @Drone @RemoteMachine WebDriver instance2;
     

    If @RemoteMachine is an annotation marked with Qualifier, then two different instances of WebDriver object will be configured and instantiated before execution of the first test method.