code: def allowed_error_pages(*error_pages):
      
      def wrapper(func):
          setattr(func, ALLOWED_ERROR_PAGES, error_pages)
          return func
      return wrapper
docs: Decorator ignoring defined error pages at the end of test method. As param
      use what :py:meth:`~.WebdriverWrapperErrorMixin.get_error_page`
      returns.
  
      .. versionadded:: 2.0