docs: private BeanDefinition parseActionCondition(Element element, ParserContext parserContext) {
          Map<String, BeanDefinitionParser> actionRegistry = TestActionRegistry.getRegisteredActionParser();
  
          Element action = DOMUtil.getFirstChildElement(element);
          if (action != null) {
              BeanDefinitionParser parser = actionRegistry.get(action.getTagName());
  
              if (parser !=  null) {
                  return parser.parse(action, parserContext);
              } else {
                  return parserContext.getReaderContext().getNamespaceHandlerResolver().resolve(action.getNamespaceURI()).parse(action, parserContext);
              }
          }
  
          throw new BeanCreationException("Invalid wait for action condition - action not set properly");
      }