0
以下の設定で自動化スクリプトを実行しようとしています。セレン2.53.0のgeckodriverで最新のFirefoxブラウザでセレンスクリプトを実行するには?
構成:
セレン-javaの2.53.0
セレンサーバー2.53.0
JRE 7のFirefox 49.0
geckodriver-V0。 11.1-win64
Firefoxは開かれていますが、スクリプトはURLを入力できません。
次のエラーのトレースを参照してください:
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
ey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{"32":"icon.png","48":"icon.png"},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Default","description":"The default
Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","installDate":1477028214411,"updateDate":1477028214411,"applyBackgroundUpdates":1,"skinnable":true,"size":21905,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"49.0.2","maxVersion":"49.0.2"}],"targetPlatforms":[],"seen":true}
1478243939636 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
より多くの情報が必要な場合は私に知らせてください。
こんにちは、JREとセレンのバージョンも同様に更新する必要があります。 – Sagar007
FF 47.0.1以上で作業するには、Seleniumを3.0.2に更新する必要があります。 Firefoxの最新バージョンのサポートは、geckodriver – Abhinav
によって提供されています。ありがとうございますabhinavとnikita – Sagar007