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:
4949    metadata :
5050      url : ' http://selenium-grid-url-or-ip:4444/graphql' 
5151      browserName : ' chrome' 
52+       platformName : ' Linux' 
5253` ` ` 
5354
5455All of this gets saved as a Scaled-Object like so: 
6970  triggers :
7071    - type : selenium-grid 
7172      metadata :
72-         url : ' https ://selenium-grid-url-or-ip:4444/graphql' 
73+         url : ' http ://selenium-grid-url-or-ip:4444/graphql' 
7374        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') 
7484``` 
7585
7686As an added bonus KEDA allows us to scale our deployments down to 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments