Oops, actually, just use this instead of creating a new step:
https://github.com/openscholar/openscholar/blob/e37af297520362c7ec5ddf9746052315a0183edc/openscholar/behat/features/bootstrap/FeatureContext.php#L315