nightwatch-friendly apis