in reply to Re^2: WWW::Mechanize::Chrome Can't Connect without knowing the port?!
in thread WWW::Mechanize::Chrome Can't Connect without knowing the port?!
[3455:3455:0926/140135.852054:ERROR:browser_main_loop.cc(1434)] Unable + to open X display.
So maybe your Chrome process can't connect to your display server. This would explain why it works headless but not when trying with a display. I don't know why Chrome can't connect to a display - are you launching the process as a different user or in a shell without the DISPLAY variable set?
|
|---|