Closed wiseman closed 4 years ago
This might be the same issue as #6 .
scroll-to
has a similar bug.
@wiseman nice catch! We're guilty of leaning on the default *driver*
for most cases (which is probably why we haven't run into this in our day to day). I think fixing this would solve #6
Also, there are several uses of wait-until
that don't pass the driver through. Probably worth an audit of all calls of wait-until
/wait-until-clickable
and thread the driver through @jeffh?
Yeah, for my current use case I have two drivers open, which I'm sure is unusual.
Yeah, we need to audit that all of the functions properly thread driver through
@wiseman, I've done a first-pass through the APIs to properly thread driver through on master
. Let me know how it works.
I need to do another walk through for APIs that were added since I made those changes. I figured it would be better to push this instead of waiting until all of them got properly updated.
This should be fixed in the latest release.
When
click
callswait-until-clickable
it doesn't pass the driver argument, so if you don't have a default*driver*
it fails with aNullPointerException
.