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