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
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
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:
single-file https://baidu.com 1.html --back-end=webdriver-gecko --browser-headless=false
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
The text was updated successfully, but these errors were encountered:
I was not able to reproduce your issue, same OS, same Firefox version, geckodriver v0.30.0.
Sorry, something went wrong.
Are there any log files that I can provide to you, so you can debug on it?
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.
playwright-firefox
Successfully merging a pull request may close this issue.
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=falseBut not this:
single-file https://baidu.com 1.html --back-end=webdriver-gecko --browser-headless=falseWill got error:
Expected behavior
A clear and concise description of what you expected to happen.
Environment
The text was updated successfully, but these errors were encountered: