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

Setting description and title fails #234

Open
bmarotta opened this issue Jan 3, 2024 · 0 comments
Open

Setting description and title fails #234

bmarotta opened this issue Jan 3, 2024 · 0 comments

Comments

@bmarotta
Copy link
Contributor

bmarotta commented Jan 3, 2024

When uploading a video I get the below error. The video is fully uploaded, but the description and title are not set. I ran with the code with {headless: false} and I can see it typing the title and description. Somehow is not being able to find the next button of the dialog. Any ideas?

C:\dev\appium\you-tube-uploader\node_modules\youtube-videos-uploader\dist\upload.js:354
    await next[0].click();
                  ^

TypeError: Cannot read properties of undefined (reading 'click')
    at uploadVideo (C:\dev\appium\you-tube-uploader\node_modules\youtube-videos-uploader\dist\upload.js:354:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async upload (C:\dev\appium\you-tube-uploader\node_modules\youtube-videos-uploader\dist\upload.js:49:26)
    at async checkAndUploadVideo (file:https:///C:/dev/appium/you-tube-uploader/dist/index.js:50:20)
    at async file:https:///C:/dev/appium/you-tube-uploader/dist/index.js:29:17
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