driver.js icon indicating copy to clipboard operation
driver.js copied to clipboard

[Bug] Methods hasNextStep and hasPreviousStep do not return boolean

Open lonix1 opened this issue 1 year ago • 1 comments

They (maybe) return the steps rather than booleans.

lonix1 avatar May 04 '24 05:05 lonix1

@lonix1 👍

https://github.com/kamranahmedse/driver.js/blob/9e6f1a45b3fb023886518a99cfcb3985275b9af0/src/driver.ts#L156-L157

hasNextStep => nextStep?

xionnon avatar May 11 '24 01:05 xionnon