Add initial implementation of captureFlag(<flagName>[ on <selectorChain>])