Closed digitalore closed 3 years ago
It's seems that something is missing or not working. After logged in the workflow is to click on the input area to upload the video file.
Can you download the repository and execute puppeteer with headless: false
param?
By doing this you are going to see what is actually happen on the puppeteer instance.
Let us know
Hi, I am getting the following error. I have setup the secrets under Organization=>Project=>Secrets.
env:
ANCHOR_EMAIL: ${{ secrets.ANCHOR_EMAIL }}
ANCHOR_PASSWORD: ${{ secrets.ANCHOR_PASSWORD }}
Launching puppeteer TypeError: text is not iterable at Keyboard.type (/home/aru/git/youtube-to-anchorfm/node_modules/puppeteer/lib/cjs/puppeteer/common/Input.js:222:28) at ElementHandle.type (/home/aru/git/youtube-to-anchorfm/node_modules/puppeteer/lib/cjs/puppeteer/common/JSHandle.js:522:35) at process._tickCallback (internal/process/next_tick.js:68:7)
===================== DEBUG ===============
puppeteer:protocol:RECV ◀ {"id":20,"result":{"result":{"type":"object","subtype":"node","className":"HTMLInputElement","description":"input#email.styles__input_2RwvF","objectId":"-2447221228543748801.3.2"}},"sessionId":"1A64137E15A99E636F94C9926AC5BD94"} +2ms puppeteer:protocol:SEND ► {"sessionId":"1A64137E15A99E636F94C9926AC5BD94","method":"Runtime.callFunctionOn","params":{"functionDeclaration":"(element) => element.focus()\n//# sourceURL=puppeteer_evaluation_script__\n","executionContextId":3,"arguments":[{"objectId":"-2447221228543748801.3.2"}],"returnByValue":true,"awaitPromise":true,"userGesture":true},"id":21} +1ms
puppeteer:protocol:RECV ◀ {"id":21,"result":{"result":{"type":"undefined"}},"sessionId":"1A64137E15A99E636F94C9926AC5BD94"} +6ms TypeError: text is not iterable at Keyboard.type (/home/aru/git/youtube-to-anchorfm/node_modules/puppeteer/lib/cjs/puppeteer/common/Input.js:222:28) at ElementHandle.type (/home/aru/git/youtube-to-anchorfm/node_modules/puppeteer/lib/cjs/puppeteer/common/JSHandle.js:522:35) at process._tickCallback (internal/process/next_tick.js:68:7)
puppeteer:protocol:RECV ◀ {"method":"Network.requestWillBeSentExtraInfo","params":{"requestId":"146887.66","associatedCookies":[],"headers":{":method":"POST",":authority":"m.stripe.com",":scheme":"https",":path":"/6","content-length":"2572","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/88.0.4298.0 Safari/537.36","content-type":"text/plain;charset=UTF-8","accept":"/","origin":"https://m.stripe.network","sec-fetch-site":"cross-site","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://m.stripe.network/inner.html","accept-encoding":"gzip, deflate, br","accept-language":"en-US"}},"sessionId":"1A64137E15A99E636F94C9926AC5BD94"} +97ms
@arumugam6 you need to open a new issue
I have tried several times to get this to work. I have the secrets set, the workflow/action file, etc. However, I consistently receive the following error during "upload_episode"
Launching puppeteer Logged in TimeoutError: waiting for selector
input[type=file]
failed: timeout 30000ms exceeded at new WaitTask (/github/workspace/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:505:34) at DOMWorld.waitForSelectorInPage (/github/workspace/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:416:26) at Object.internalHandler.waitFor (/github/workspace/node_modules/puppeteer/lib/cjs/puppeteer/common/QueryHandler.js:31:77) at DOMWorld.waitForSelector (/github/workspace/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:312:29) at Frame.waitForSelector (/github/workspace/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:842:51) at Page.waitForSelector (/github/workspace/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1285:33) at /github/workspace/index.js:71:32 at processTicksAndRejections (internal/process/task_queues.js:97:5)