Annotation Interface BeforeSwitchToWindow
Add this annotation on a method to register it in
EventsRegistry
.
Can be used in test adapter and component.
Parameters from AlertListener
will be injected in the method based on parameters types.
-
Optional Element Summary
-
Element Details
-
value
int valuePriority of the method. Higher priority will be executed first.- Returns:
- priority value
- Default:
- 0
-