`handler` is a local variable in click() method, so I tend to keep it. or we would have multiple returns in the function we passed to inputSequencePromise.then().
Or am I missing something?