Skip to content

Instantly share code, notes, and snippets.

View c3s4r's full-sized avatar

Cesar Salazar c3s4r

View GitHub Profile
@c3s4r
c3s4r / Instructions
Last active September 11, 2023 08:34 — forked from koola/selenium_node_install.bat
Install Selenium grid node as a windows service
Copy both files in a folder like c:\Selenium-install
Modify the selenium_node_install.bat accordingly
If you want to use MicrosoftEdge, before running the script you must install the webDriver: https://www.microsoft.com/en-us/download/details.aspx?id=48212
If you want to use IE11, you must follow this instructions, for it to work: http://www.michael-whelan.net/selenium-webdriver-and-ie11/
You could also modify the selenium_node_install.bat if needed
Once ready, run the selenium_node_install.bat file, run it as Administrator
A service will be created.
@koola
koola / selenium_node_install.bat
Last active January 8, 2024 16:55
Install Selenium grid node as a windows service
@echo off
powershell.exe -executionpolicy unrestricted -command "%~dp0\selenium_node_install.ps1 -nodes ie -hub 192.168.1.1"
REM powershell.exe -executionpolicy unrestricted -command "%~dp0\selenium_node_install.ps1 -nodes ie,chrome -hub 192.168.1.1"
REM powershell.exe -executionpolicy unrestricted -command "%~dp0\selenium_node_install.ps1 -nodes ie,chrome,firefox -hub 192.168.1.1"
pause