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

Document the default screenshot directory #33

Open
DanKaplanSES opened this issue Aug 8, 2023 · 1 comment
Open

Document the default screenshot directory #33

DanKaplanSES opened this issue Aug 8, 2023 · 1 comment

Comments

@DanKaplanSES
Copy link

My test calls generateImage(); without issue, but I have no idea where the screenshot went. This is probably documented within the screenshot options, but the link to that in the readme 404s. Regardless, it might be worth stating directly in the readme of this project as I'm sure it's something any first-time user would want to know.

@DanKaplanSES
Copy link
Author

DanKaplanSES commented Aug 8, 2023

I just noticed this function returns a Promise but the first example doesn't await on it. That's why it gave me no information when I called generateImage(); and my test seemed to pass. I don't have a lot of experience writing top-level async/await code; does this first example work correctly or is it also missing an await like my test was?

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