File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
vagrant/win10-chromium-nvda Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -103,10 +103,10 @@ namespace Win32Api
103103
104104 echo "Installing java..."
105105 Expand-Archive -Path C:\\ vagrant\\ software\\ openjdk.zip -DestinationPath C:\\
106+ netsh advfirewall firewall add rule name="Allow java" dir=in action=allow program="c:\\ jdk-17.0.2\\ bin\\ java.exe" enable=yes
106107
107108 echo "Installing selenium-server..."
108109 Copy-Item "C:\\ vagrant\\ software\\ selenium-server.jar" -Destination C:\\
109- netsh advfirewall firewall add rule name="Allow selenium" localport=4444 protocol=tcp dir=in action=allow
110110 New-Item -Path 'C:\\ webdrivers' -ItemType "directory" -Force | Out-Null
111111 \$ curPath = Get-ItemPropertyValue -Path 'HKLM:\\ SYSTEM\\ CurrentControlSet\\ Control\\ Session Manager\\ Environment' -Name PATH
112112 Set-ItemProperty -Path 'HKLM:\\ SYSTEM\\ CurrentControlSet\\ Control\\ Session Manager\\ Environment' -Name PATH -Type ExpandString -Value "\$ curPath;c:\\ webdrivers"
You can’t perform that action at this time.
0 commit comments