-
Notifications
You must be signed in to change notification settings - Fork 34
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
Testcafe screenshot is not working for firefox on Cent os #200
Comments
Hi @sumant28 Could you please provide us with the result of the 'ldd /node_modules/testcafe-browser-tools/bin/linux/glibc-64/screenshot' command execution? |
@miherlosev @AndreyBelym
|
FYI, |
Hello @sumant28 , The log you provided is a TestCafe error log. Please execute the |
Scenario :
1] Using frontend-maven-plugin to download node and testcafe in project directory.
2] Running testcafe based tests from Java using xvfb-run command along with node and testcafe using code like :
Runtime.getRuntime().exec()
3] Using
.testcaferc.json
to add configuration where the screenshot is enabled.The actual command that is running :
xvfb-run --server-num=43717 --server-args=-screen 0 1024x768x24 {project_root_path}/node/node {project_root_path}/node_modules/testcafe/lib/cli/cli.js 'path:/mnt/jenkins/firefox/firefox-68.1.0esr/firefox/firefox --start-fullscreen' {project_root_path}/src/test/resources/testcafe-test-files/transform-add-and-subtract-time.js
The error while taking the screenshot is :
Warnings (2): -- Was unable to take a screenshot due to an error.
Software versions I am using :
Testcafe version : 1.1.0
FirefoxBinary version: Mozilla Firefox 68.1.0esr
CentOS version : Linux release 7.4.1708 (Core)
Can you please help me in resolving this issue ?
@AndreyBelym
The text was updated successfully, but these errors were encountered: