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

Does not work with relative paths #13

Open
euberdeveloper opened this issue Feb 5, 2022 · 2 comments
Open

Does not work with relative paths #13

euberdeveloper opened this issue Feb 5, 2022 · 2 comments

Comments

@euberdeveloper
Copy link

euberdeveloper commented Feb 5, 2022

If I call:

await recorder.init(page, './folder');

It does not work, while if I give path.resolve(process.cwd(), './folder' instead it works:

await recorder.init(page, path.resolve(process.cwd(), './folder');
@bhanuagarwal73
Copy link

I am getting error as
image

@shaynet10
Copy link
Owner

If I call:

await recorder.init(page, './folder');

It does not work, while if I give path.resolve(process.cwd(), './folder' instead it works:

await recorder.init(page, path.resolve(process.cwd(), './folder');

To be honest I'm not sure how to help you here.
The package is a very.simple one , and I don't have time to improve it .
What you've mentioned sounds reasonable fix for it and I'm glad it helps you.

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

3 participants