File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 122
122
representable (~> 3.1 )
123
123
rubyzip (2.4.1 )
124
124
securerandom (0.4.1 )
125
- selenium-webdriver (4.10.0 )
125
+ selenium-webdriver (4.29.1 )
126
+ base64 (~> 0.2 )
127
+ logger (~> 1.4 )
126
128
rexml (~> 3.2 , >= 3.2.5 )
127
129
rubyzip (>= 1.2.2 , < 3.0 )
128
130
websocket (~> 1.0 )
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ gauge install
38
38
39
39
```
40
40
cd gocd
41
- ./gradlew -PfastBuild build-platform:publishToMavenLocal plugin-infra:go-plugin-api:publishToMavenLocal plugin-infra:go-plugin-api-internal: publishToMavenLocal installers:versionFile
41
+ ./gradlew -PfastBuild publishToMavenLocal installers:versionFile
42
42
```
43
43
44
44
3. Build GoCD plugins:
Original file line number Diff line number Diff line change 57
57
Capybara . register_driver :selenium do |app |
58
58
browser = ( ENV [ 'browser' ] || 'firefox' ) . to_sym
59
59
config = case browser
60
- when :firefox
61
- options = ::Selenium ::WebDriver ::Firefox ::Options . new
62
- options . args << "--headless" if RbConfig ::CONFIG [ 'host_os' ] =~ /linux/
63
- { browser : browser , options : options }
64
- else
65
- { browser : browser }
66
- end
60
+ when :firefox
61
+ ::Selenium ::WebDriver ::Firefox ::Service . driver_path = `which geckodriver` . chomp
62
+ options = ::Selenium ::WebDriver ::Firefox ::Options . new
63
+ options . args << "--headless" if RbConfig ::CONFIG [ 'host_os' ] =~ /linux/
64
+ { browser : browser , options : options }
65
+ else
66
+ chromedriver_path = `which chromedriver` . chomp
67
+ ::Selenium ::WebDriver ::Chrome ::Service . driver_path = chromedriver_path
68
+ ::Selenium ::WebDriver ::Chromium ::Service . driver_path = chromedriver_path
69
+ ::Selenium ::WebDriver ::Edge ::Service . driver_path = chromedriver_path
70
+ { browser : browser }
71
+ end
67
72
Capybara ::Selenium ::Driver . new ( app , **config )
68
73
end
69
74
You can’t perform that action at this time.
0 commit comments