You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike phantomjs, nightmare currently requires an X environment to work on Linux host systems. This is a problem of the electron shell and the underlying Chromium browser, so we currently can't do much about it.
Obviously this makes the use of nightmare on most CI systems unnecessarily difficult. Using XFVB is a workaround for that, but makes the entire setup process a lot more complex and error-prone.
An example for running testcafe with nightmare through XVFB:
Unlike phantomjs, nightmare currently requires an X environment to work on Linux host systems. This is a problem of the electron shell and the underlying Chromium browser, so we currently can't do much about it.
Obviously this makes the use of nightmare on most CI systems unnecessarily difficult. Using XFVB is a workaround for that, but makes the entire setup process a lot more complex and error-prone.
An example for running testcafe with nightmare through XVFB:
See the following issues for more information:
segment-boneyard/nightmare#224
electron/electron#228
At least there's hope: Chromium on Linux supports a fully headless mode since early January 2017, which should land in electron sooner or later.
The text was updated successfully, but these errors were encountered: