case notRegex:
condition = new NotRegexCondition(c.getExpression());
break;
case visibleId:
id = new Identification(How.id, c.getExpression());
condition = new VisibleCondition(id);
break;
case notVisibleId:
id = new Identification(How.id, c.getExpression());
condition = new NotVisibleCondition(id);
break;
case visibleText:
id = new Identification(How.text, c.getExpression());
condition = new VisibleCondition(id);
break;
case notVisibleText:
id = new Identification(How.text, c.getExpression());
condition = new NotVisibleCondition(id);
break;
case visibleTag:
id = new Identification(How.tag, c.getExpression());
condition = new VisibleCondition(id);
break;
case notVisibleTag:
id = new Identification(How.tag, c.getExpression());
condition = new NotVisibleCondition(id);
break;