It might be nice to give the regex assertion its own name instead of relying on argument type to choose how to match. This would be consistent with chai-webdriver and also make an include or contain flag for the text assertion a little less confusing (contain would also be consistent with chai-webdriver)
It might be nice to give the regex assertion its own name instead of relying on argument type to choose how to match. This would be consistent with
chai-webdriverand also make anincludeorcontainflag for thetextassertion a little less confusing (containwould also be consistent withchai-webdriver)