File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
website_and_docs/content/blog/2022 Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ triggers:
49
49
metadata :
50
50
url : ' http://selenium-grid-url-or-ip:4444/graphql'
51
51
browserName : ' chrome'
52
+ platformName : ' Linux'
52
53
` ` `
53
54
54
55
All of this gets saved as a Scaled-Object like so:
69
70
triggers :
70
71
- type : selenium-grid
71
72
metadata :
72
- url : ' https ://selenium-grid-url-or-ip:4444/graphql'
73
+ url : ' http ://selenium-grid-url-or-ip:4444/graphql'
73
74
browserName : ' chrome'
75
+ platformName : ' Linux'
76
+ ` ` `
77
+
78
+ Send the request to Grid, for example in Python client:
79
+
80
+ ` ` ` python
81
+ options = ChromeOptions()
82
+ options.set_capability('platformName', 'Linux')
83
+ driver = webdriver.Remote(options=options, command_executor='http://selenium-grid-url-or-ip:4444/wd/hub')
74
84
```
75
85
76
86
As an added bonus KEDA allows us to scale our deployments down to
You can’t perform that action at this time.
0 commit comments