OS:4.4.10-22.54.amzn1.x86_64 GNU/Linux
, wenn ich Google-Chrom geben, es zeigt einen Fehler [14033:14033:0604/061453:ERROR:browser_main_loop.cc(271)]
Gtk: can not open display:Google Chrome läuft nicht auf 4.4.10-22.54.amzn1.x86_64 GNU/Linux
I Chrom installiert haben Browser mit folgendem Befehl
sudo yum -y install google-chrome-stable –skip-broken
Daher, auch wenn ich meinen Selen Test ausführen, es zeigt, wie
org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally
[testng] (Driver info: chromedriver=2.2,platform=Linux 4.4.10-22.54.amzn1.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information)
[testng] Command duration or timeout: 21.07 seconds
Hat jemand eine Idee, was ich falsch mache?
Ich konnte dieses Problem nicht lösen, Glück hier? Ich habe versucht Xvfb Einstellung 'Export DISPLAY =: 1' und' Xvfb: 1 Bildschirm 1024x768x240 + Ausdruck RANDR & '... Nichts hat funktioniert. – Dineshmohan