![]() I'm also having the same issue on the Selenium Grid Chrome node container I've made using Docker. RUN powershell SetX /M JAVA_HOME "\"C:\Java\jre1.8.0_181""ĬMD java -jar selenium-server-standalone-3.13.0.jar -role hub RUN powershell SetX /M PATH "\"C:\Java\jre1.8.0_181\bin $env:PATH"" RUN powershell (new-object ).Downloadfile(' ', 'C:\selenium-server-standalone-3.13.0.jar') RUN powershell start-process -filepath C:\JavaSetup8u181.exe -passthru -wait -argumentlist "/s,INSTALLDIR=c:\Java\jre1.8.0_181,/L,install64.log" RUN powershell (new-object ).Downloadfile(' ', 'C:\JavaSetup8u181.exe') Here's the Dockerfile contents for both of them if you want to take a look: The containers I've made both for the node and the hub use windowsservercore as its base image. ![]() RUN powershell (new-object ).Downloadfile(' ', 'C:\ChromeSetup.exe') RUN powershell SetX /M PATH "\"C:\chromedriver.exe $env:PATH"" RUN powershell SetX /M PATH "\"C: $env:PATH"" RUN powershell (new-object ).Downloadfile(' ','C:\chromedriver_win32.zip') RUN powershell Remove-Item -Force /7z1805-圆4.exe RUN powershell SetX /M PATH "\"C:\Program Files\7-zip $env:PATH"" RUN powershell Start-Process -Wait -FilePath '\7z1805-圆4.exe' -ArgumentList '/S'
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |