Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

driverObj.getActiveStep(); outputs the previous step #528

Open
klentgalimbas opened this issue Sep 20, 2024 · 1 comment
Open

driverObj.getActiveStep(); outputs the previous step #528

klentgalimbas opened this issue Sep 20, 2024 · 1 comment

Comments

@klentgalimbas
Copy link

I am trying to get the active step's CSS selector but it outputs the previous step's CSS selector.

var activeStep = driverObj.getActiveStep();
var current = activeStep.element;

@klentgalimbas
Copy link
Author

klentgalimbas commented Sep 20, 2024

It turns out I am using the older version

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/driver.js.iife.js"></script>

fixed on version 1.2.0. You should update the link on your website

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant