1 package com.atlassian.pageobjects.browser;
2
3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention;
5 import java.lang.annotation.RetentionPolicy;
6 import java.lang.annotation.Target;
7
8 /**
9 * Marks a method that should not be called if the current test browser matches any of the given browsers.
10 *
11 * @since 2.1
12 */
13 @Retention(RetentionPolicy.RUNTIME)
14 @Target({ ElementType.METHOD, ElementType.TYPE, ElementType.PACKAGE })
15 public @interface IgnoreBrowser
16 {
17 Browser[] value() default {Browser.ALL};
18
19 String reason() default ("No reason provided");
20 }