Unable to create session error using GeckoDriver and Firefox through Selenium and Java org.openqa.selenium.WebDriverException
问题 I'm able to run tests with Intellij but when I run the same tests via Jenkins I get the following error. org.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:46285 Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'M-AMS-DEVELOPER', ip: '108.61.189.113', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_241' Driver info: driver.version: