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

Not working - Change in Deepl site? #1

Open
M-Gonzalo opened this issue Jul 13, 2021 · 0 comments
Open

Not working - Change in Deepl site? #1

M-Gonzalo opened this issue Jul 13, 2021 · 0 comments

Comments

@M-Gonzalo
Copy link

$ node translate.test.js 
/dev/shm/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:505
            const timeoutError = new Errors_js_1.TimeoutError(`waiting for ${options.title} failed: timeout ${options.timeout}ms exceeded`);
                                 ^

TimeoutError: waiting for selector `.lmt__language_select--source > div > button[dl-test=translator-lang-option-en]` failed: timeout 30000ms exceeded
    at new WaitTask (/dev/shm/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:505:34)
    at DOMWorld.waitForSelectorInPage (/dev/shm/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:416:26)
    at Object.internalHandler.waitFor (/dev/shm/node_modules/puppeteer/lib/cjs/puppeteer/common/QueryHandler.js:31:77)
    at DOMWorld.waitForSelector (/dev/shm/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:312:29)
    at Frame.waitForSelector (/dev/shm/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:842:51)
    at Page.waitForSelector (/dev/shm/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1285:33)
    at Translate.changeInputLang (file:///dev/shm/node_modules/deepl-web-translator/index.js:76:16)
    at async Translate.initPage (file:///dev/shm/node_modules/deepl-web-translator/index.js:62:5)
    at async file:///dev/shm/node_modules/deepl-web-translator/index.js:36:21
    at async file:///dev/shm/node_modules/deepl-web-translator/translate.test.js:5:13
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