Unable to run Selenium HtmlUnitDriver test (java.net.SocketException)
问题 Im in the process of learning how to use Selenium to automate we browsers and working my way through an online course. Im currently having some problems trying to run a headless browser test using the HtmlUnitDriver I have a simple test that should load a web page and assert the title, code as follows. package com.seleniumsimplified.webdriver; import org.junit.Test; import org.openqa.selenium.WebDriver; import org.openqa.selenium.htmlunit.HtmlUnitDriver; import static org.junit.Assert