sakaim様
中島です。
回答有難うございます。
>・selenium-server-standalone-3.4.0.jar
>・IEDriverServer_h5mod_x64_2.53.0.exe
上記のバージョンで相違ありません。
こちらの組み合わせは相性の問題がある旨、承知しました。
>1) IEノードのみ、selenium-server-standalone-3.3.1.jar を利用する(Win7, IE11で動作確認済)
上記の方法を試しましたが、エラーとなってしましました。
重ねての質問となり申し訳ありませんが、考えられる原因などありましたら
ご教授いただければ幸いです。
[環境]
--------------------------------------------------------------------
【hifiveのバージョン】Pitalium 1.2.0
【ブラウザおよびバージョン】IE11 (11.0.9600.18762)
【ブラウザの動作OS】windows7 (64bit)
【ハブサーバー】selenium-server-standalone-3.4.0.jar
【ノードサーバー】selenium-server-standalone-3.3.1.jar
【WEBドライバー(IE)】IEDriverServer_h5mod_x64_2.53.0.exe (pitalium 1.2.0に同梱)
※なお、同じ環境でSeleniumHQで公開されている最新のIEDriverServerを使用すると
エラーは発生しない。
--------------------------------------------------------------------
[トレースログ]
"SampleTest.java"は自作のソースで、27行目でPtlTestBaseクラスのsetUpを実行しています。
--------------------------------------------------------------------
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'DESKTOP', ip: '192.168.1.230',
os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_131'
Driver info: driver.version: PtlInternetExplorerDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:658)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:137)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:174)
at com.htmlhifive.pitalium.core.selenium.PtlWebDriver.<init>(PtlWebDriver.java:141)
at com.htmlhifive.pitalium.core.selenium.PtlInternetExplorerDriver.<init>(PtlInternetExplorerDriver.java:37)
at com.htmlhifive.pitalium.core.selenium.PtlWebDriverFactory$PtlInternetExplorerDriverFactory.createWebDriver(PtlWebDriverFactory.java:292)
at com.htmlhifive.pitalium.core.selenium.PtlWebDriverFactory.getDriver(PtlWebDriverFactory.java:142)
at com.htmlhifive.pitalium.core.rules.AssertionView$4.get(AssertionView.java:213)
at com.htmlhifive.pitalium.core.rules.AssertionView$4.get(AssertionView.java:210)
at com.htmlhifive.pitalium.core.selenium.PtlWebDriverManager.getWebDriver(PtlWebDriverManager.java:146)
at com.htmlhifive.pitalium.core.rules.AssertionView.createDriver(AssertionView.java:209)
at com.htmlhifive.pitalium.core.PtlTestBase.setUp(PtlTestBase.java:96)
at com.htmlhifive.pitalium.sample.SampleTest.setUp(SampleTest.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at com.htmlhifive.pitalium.junit.ParameterizedTestWatcher$1.evaluate(ParameterizedTestWatcher.java:43)
at com.htmlhifive.pitalium.junit.RunParameterizedRules.evaluate(RunParameterizedRules.java:36)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.Proxy.ProxyType.
at java.lang.Enum.valueOf(Enum.java:238)
at org.openqa.selenium.Proxy$ProxyType.valueOf(Proxy.java:33)
at org.openqa.selenium.Proxy.<init>(Proxy.java:66)
at org.openqa.selenium.remote.ProtocolHandshake$Result.lambda$static$0(ProtocolHandshake.java:401)
at org.openqa.selenium.remote.ProtocolHandshake$Result.<init>(ProtocolHandshake.java:416)
at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$1(JsonWireProtocolResponse.java:85)
at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:93)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$22(ProtocolHandshake.java:365)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:368)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:159)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
... 44 more
--------------------------------------------------------------------
2017年8月10日木曜日 14時51分39秒 UTC+9 sakaim: