All Downloads are FREE. Search and download functionalities are using the official Maven repository.

igarcia.webdrivermanager.6.1.0.source-code.commands.properties Maven / Gradle / Ivy

Go to download

Automated driver management and other helper features for Selenium WebDriver in Java

The newest version!
# Commands database
# This file contains the commands to be executed in the shell in order to detect the version of evergreen browsers
# (Chrome, Firefox, Opera, Edge, Chromium) in different operating systems (Windows, Linux, Mac OS)

# Chrome
command.chrome.windows.01=cmd.exe /C wmic datafile where name="%PROGRAMFILES:\=\\%\\Google\\Chrome\\Application\\chrome.exe" get Version /value
command.chrome.windows.02=cmd.exe /C wmic datafile where name="%PROGRAMFILES(X86):\=\\%\\Google\\Chrome\\Application\\chrome.exe" get Version /value
command.chrome.windows.03=cmd.exe /C wmic datafile where name="%LOCALAPPDATA:\=\\%\\Google\\Chrome\\Application\\chrome.exe" get Version /value
command.chrome.windows.04=REG QUERY HKCU\Software\Google\Chrome\BLBeacon /v version
command.chrome.windows.05=powershell.exe -Command (Get-Item "${env:LOCALAPPDATA}\Google\Chrome\Application\chrome.exe").VersionInfo.ProductVersion
command.chrome.windows.06=powershell.exe -Command (Get-Item "${env:PROGRAMFILES(X86)}\Google\Chrome\Application\chrome.exe").VersionInfo.ProductVersion
command.chrome.windows.07=powershell.exe -Command (Get-Item "${env:PROGRAMFILES}\Google\Chrome\Application\chrome.exe").VersionInfo.ProductVersion

command.chrome.linux.01=/usr/bin/google-chrome --version
command.chrome.linux.02=google-chrome --version

command.chrome.mac.01=/Applications/Google Chrome.app/Contents/MacOS/Google Chrome --version


# Firefox
command.firefox.windows.01=cmd.exe /C wmic datafile where name="%PROGRAMFILES:\=\\%\\Mozilla Firefox\\firefox.exe" get Version /value
command.firefox.windows.02=cmd.exe /C wmic datafile where name="%PROGRAMFILES(X86):\=\\%\\Mozilla Firefox\\firefox.exe" get Version /value
command.firefox.windows.03=REG QUERY "HKCU\Software\Mozilla\Mozilla Firefox" /v CurrentVersion
command.firefox.windows.04=powershell.exe -Command (Get-Item "${env:PROGRAMFILES(X86)}\Mozill~1\firefox.exe").VersionInfo.ProductVersion
command.firefox.windows.05=powershell.exe -Command (Get-Item "${env:PROGRAMFILES}\Mozill~1\firefox.exe").VersionInfo.ProductVersion

command.firefox.linux.01=/usr/bin/firefox -v
command.firefox.linux.02=firefox -v

command.firefox.mac.01=/Applications/Firefox.app/Contents/MacOS/firefox -v


# Edge
command.edge.windows.01=cmd.exe /C wmic datafile where name="%PROGRAMFILES(X86):\=\\%\\Microsoft\\Edge\\Application\\msedge.exe" get Version /value
command.edge.windows.02=cmd.exe /C wmic datafile where name="%PROGRAMFILES:\=\\%\\Microsoft\\Edge\\Application\\msedge.exe" get Version /value
command.edge.windows.03=REG QUERY HKCU\Software\Microsoft\Edge\BLBeacon /v version
command.edge.windows.04=powershell.exe -Command (Get-Item "${env:PROGRAMFILES}\Microsoft\Edge\Application\msedge.exe").VersionInfo.ProductVersion
command.edge.windows.05=powershell.exe -Command (Get-Item "${env:PROGRAMFILES(X86)}\Microsoft\Edge\Application\msedge.exe").VersionInfo.ProductVersion


command.edge.linux.01=/usr/bin/microsoft-edge --version
command.edge.linux.02=microsoft-edge --version

command.edge.mac.01=/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge -version


# Opera
command.opera.windows.01=cmd.exe /C wmic datafile where name="%LOCALAPPDATA:\=\\%\\Programs\\Opera\\opera.exe" get Version /value
command.opera.windows.02=cmd.exe /C wmic datafile where name="%PROGRAMFILES:\=\\%\\Programs\\Opera\\opera.exe" get Version /value
command.opera.windows.03=cmd.exe /C wmic datafile where name="%LOCALAPPDATA:\=\\%\\Opera\\launcher.exe" get Version /value
command.opera.windows.04=cmd.exe /C wmic datafile where name="%PROGRAMFILES:\=\\%\\Opera\\launcher.exe" get Version /value
command.opera.windows.05=powershell.exe -Command (Get-Item "${env:PROGRAMFILES}\Opera\launcher.exe").VersionInfo.ProductVersion
command.opera.windows.06=powershell.exe -Command (Get-Item "${env:LOCALAPPDATA}\Opera\launcher.exe").VersionInfo.ProductVersion
command.opera.windows.07=powershell.exe -Command (Get-Item "${env:PROGRAMFILES}\Programs\Opera\opera.exe").VersionInfo.ProductVersion
command.opera.windows.08=powershell.exe -Command (Get-Item "${env:LOCALAPPDATA}\Programs\Opera\opera.exe").VersionInfo.ProductVersion

command.opera.linux.01=/usr/bin/opera --version
command.opera.linux.02=opera --version

command.opera.mac.01=/Applications/Opera.app/Contents/MacOS/Opera --version


# Chromium
command.chromium.windows.01=cmd.exe /C wmic datafile where name="%LOCALAPPDATA:\=\\%\\Chromium\\Application\\chrome.exe" get Version /value
command.chromium.windows.02=cmd.exe /C wmic datafile where name="%PROGRAMFILES(X86):\=\\%\\Chromium\\Application\\chrome.exe" get Version /value
command.chromium.windows.03=cmd.exe /C wmic datafile where name="%PROGRAMFILES:\=\\%\\Chromium\\Application\\chrome.exe" get Version /value
command.chromium.windows.04=powershell.exe -Command (Get-Item "${env:PROGRAMFILES}\Chromium\Application\chrome.exe").VersionInfo.ProductVersion
command.chromium.windows.05=powershell.exe -Command (Get-Item "${env:PROGRAMFILES(X86)}\Chromium\Application\chrome.exe").VersionInfo.ProductVersion
command.chromium.windows.06=powershell.exe -Command (Get-Item "${env:LOCALAPPDATA}\Chromium\Application\chrome.exe").VersionInfo.ProductVersion

command.chromium.linux.01=/usr/bin/chromium-browser --version
command.chromium.linux.02=chromium-browser --version
command.chromium.linux.03=/usr/bin/chromium --version
command.chromium.linux.04=chromium --version

command.chromium.mac.01=/Applications/Chromium.app/Contents/MacOS/Chromium --version

# Safari
command.safari.mac.01=/Applications/Safari.app/Contents/MacOS/Safari --version




© 2015 - 2025 Weber Informatics LLC | Privacy Policy