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

TypeError: window.singlefile is undefined #46

Closed
scruel opened this issue Nov 14, 2021 · 4 comments
Closed

TypeError: window.singlefile is undefined #46

scruel opened this issue Nov 14, 2021 · 4 comments

Comments

@scruel
Copy link

scruel commented Nov 14, 2021

Describe the bug
Could not save page and got TypeError.

To Reproduce
Following command works fine:
single-file https://www.baidu.com 1.html --back-end=webdriver-gecko --browser-headless=false

But not this:
single-file https://baidu.com 1.html --back-end=webdriver-gecko --browser-headless=false
Will got error:

TypeError: window.singlefile is undefined URL: https://baidu.com
Stack: undefined

Expected behavior
A clear and concise description of what you expected to happen.

Environment

  • OS: Win10 Pro
  • Browser: Firefox 94
  • geckodriver v0.30.0
@gildas-lormeau
Copy link
Owner

I was not able to reproduce your issue, same OS, same Firefox version, geckodriver v0.30.0.

@scruel
Copy link
Author

scruel commented Nov 15, 2021

I was not able to reproduce your issue, same OS, same Firefox version, geckodriver v0.30.0.

Are there any log files that I can provide to you, so you can debug on it?

@gildas-lormeau
Copy link
Owner

Note that Selenium is not really suited to SingleFile needs. If you want to use Firefox, you could install playwright with npm (it's not included by default because it's quite large) and use playwright-firefox as backend.

@gildas-lormeau gildas-lormeau transferred this issue from gildas-lormeau/SingleFile Jul 23, 2023
@gildas-lormeau
Copy link
Owner

This issue is now obsolete.

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

2 participants