Firefox 브라우저에서 특정 URL을 탐색 할 수 없습니다. 이 샘플 코드를 작성했습니다.
public class TestUrl
{
public static void main(String args[])throws Exception
{
WebDriver fd=new FirefoxDriver();
Thread.sleep(3000L);
fd.navigate().to("http://www.facebook.com");
}
}
내가 받고있는 오류 :
org.openqa.selenium.firefox.NotConnectedException : 45000ms 후에 포트 7055에서 호스트 127.0.0.1에 연결할 수 없습니다. Firefox 콘솔 출력 : dons.xpi DEBUG { "id": "[email protected]", "syncGUID": "{0652d9a4-3656-4279-8810-8a89767444bb}", "location": "winreg-app에 대한 XPIState 업데이트 중 -global ","version ":"10.3.5.39 ","type ":"extension ","internalName ": null,"updateURL ": null,"updateKey ": null,"optionsURL ": null,"optionsType ": null, "aboutURL": null, "icons": {}, "iconURL": "chrome : //sp/content/common/skin/img/logo-safeprice-48.png", "icon64URL": null, " defaultLocale ": {"name ":"Avast SafePrice ","description ":""},"visible ": true,"active ": false,"userDisabled ": true,"appDisabled ": false,"descriptor ":"C : \ Program Files \ AVAST Software \ Avast \ SafePrice \ FF ","installDate ": 1474951630115,"updateDate ": 1474951630115,"applyBackgroundUpdates ": 1,"bootstrap ": true,"skinnable ": false,"size ": 1877359,"sourceURI ": null,"releaseNotesURI ": null,"softDisabled ": false, "foreignInstall": true, "hasBinaryComponents": false, "strictCompatibility": false, "locales": [], "targetApplications": [{ "id": "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" , "minVersion": "38.0a1", "maxVersion": "43.0"}], "targetPlatforms": [], "multiprocessCompatible ": false,"signedState ": 2,"seen ": true} 1474957798423 DeferredSave.extensions.json DEBUG 변경 사항 저장 1474957798423 addons.xpi DEBUG 설치된 추가 기능에 대한 변경 사항으로 데이터베이스 업데이트 1474957798424 addons.xpi-utils DEBUG 추가 업데이트 업데이트 상태 1474957798425 addons.xpi-utils DEBUG 추가 기능 목록 작성 중
"Selenium Standalone Server jar"를 최신 버전으로 업데이트하고 Firefox 최신 버전을 다운 그레이드하십시오 (Firefox의 최저 / 안정 버전을 사용함을 의미합니다). 도움이 될 수 있습니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다