Skip to content

Commit 4e095ae

Browse files
authored
Jdk10 (#29)
* Use jdk10 * Add logs to appveyor output * Add logs to appveyor output on failure * Add logs to appveyor output
1 parent 675ccee commit 4e095ae

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

ReadMe.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Install standalone server using port 8888 instead of default 4444,
2929
and write to a log file instead of stdout:
3030

3131
```
32-
choco install -y jdk8 firefox selenium-gecko-driver googlechrome selenium-chrome-driver selenium-ie-driver
32+
choco install -y jdk10 firefox selenium-gecko-driver googlechrome selenium-chrome-driver selenium-ie-driver
3333
choco install -y selenium --params "'/port:8888 /log'"
3434
```
3535

@@ -43,7 +43,7 @@ Install hub as a Windows service that will autostart on reboot:
4343

4444
```
4545
choco install -y nssm --pre
46-
choco install -y jdk8
46+
choco install -y jdk10
4747
choco install -y selenium --params "'/role:hub /service /autostart'"
4848
```
4949

@@ -70,7 +70,7 @@ $capabilitiesJson = "C:\tools\selenium\chromeonlycapabilities.json"
7070
]
7171
'@ | New-Item $capabilitiesJson -Type file -Force
7272
73-
choco install -y jdk8 googlechrome selenium-chrome-driver
73+
choco install -y jdk10 googlechrome selenium-chrome-driver
7474
choco install -y selenium --params "'/role:node /hub:http://localhost:4444 /capabilitiesJson:$capabilitiesJson /autostart'"
7575
```
7676

appveyor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ test_script:
2323
- bundle exec rake
2424
- mvn clean test -Dtest="ChromeTest,FirefoxTest,IETest"
2525

26+
on_finish:
27+
- type C:\tools\selenium\hub.log
28+
- type C:\tools\selenium\node.log
29+
2630
artifacts:
2731
- path: '*.nupkg'
2832
name: Selenium

selenium-grid.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Set-ExecutionPolicy Bypass; iex ((New-Object System.Net.WebClient).DownloadStrin
1111

1212
choco install -y nssm --pre
1313
choco install -y googlechrome --ignorechecksum
14-
choco install -y jdk8 firefox selenium-gecko-driver selenium-chrome-driver selenium-ie-driver selenium-edge-driver
14+
choco install -y jdk10 firefox selenium-gecko-driver selenium-chrome-driver selenium-ie-driver selenium-edge-driver
1515

1616

1717
##

0 commit comments

Comments
 (0)