forked from SeleniumHQ/docker-selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
multiple-nodes-platform.yaml
39 lines (39 loc) · 1.36 KB
/
multiple-nodes-platform.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# In this case, each browser node has 2 scaler triggers, one for any platform and one for specific Linux.
#
# For example:
# Below incoming request will only trigger the scaler platform any.
# options = ChromeOptions()
# driver = webdriver.Remote(options=options, command_executor=SELENIUM_GRID_URL)
#
# Below incoming request will only trigger the scaler platform Linux.
# options = ChromeOptions()
# options.set_capability('platformName', 'Linux')
# driver = webdriver.Remote(options=options, command_executor=SELENIUM_GRID_URL)
crossBrowsers:
chromeNode:
- nameOverride: '{{ $.Release.Name }}-node-chrome-platform-any'
hpa:
platformName: ''
browserVersion: ''
- nameOverride: '{{ $.Release.Name }}-node-chrome-platform-linux'
hpa:
platformName: 'Linux'
browserVersion: ''
firefoxNode:
- nameOverride: '{{ $.Release.Name }}-node-chrome-platform-any'
hpa:
platformName: ''
browserVersion: ''
- nameOverride: '{{ $.Release.Name }}-node-firefox-platform-linux'
hpa:
platformName: 'Linux'
browserVersion: ''
edgeNode:
- nameOverride: '{{ $.Release.Name }}-node-edge-platform-any'
hpa:
platformName: ''
browserVersion: ''
- nameOverride: '{{ $.Release.Name }}-node-edge-platform-linux'
hpa:
platformName: 'Linux'
browserVersion: ''