Downloads:
99
Downloads of v 3.0.1:
99
Last Update:
03 May 2024
Package Maintainer(s):
Software Author(s):
- Adam Driscoll
Tags:
selenium powershell addon foss cross-platform automation web module testing- Software Specific:
- Software Site
- Software Source
- Software License
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Selenium PowerShell Module
- 1
- 2
- 3
3.0.1 | Updated: 03 May 2024
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
99
Downloads of v 3.0.1:
99
Maintainer(s):
Software Author(s):
- Adam Driscoll
Selenium PowerShell Module 3.0.1
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Adam Driscoll. The inclusion of Adam Driscoll trademark(s), if any, upon this webpage is solely to identify Adam Driscoll goods or services and not for commercial purposes.
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Deployment Method: Individual Install, Upgrade, & Uninstall
To install Selenium PowerShell Module, run the following command from the command line or from PowerShell:
To upgrade Selenium PowerShell Module, run the following command from the command line or from PowerShell:
To uninstall Selenium PowerShell Module, run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download selenium.powershell --internalize --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade selenium.powershell -y --source="'INTERNAL REPO URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade selenium.powershell -y --source="'INTERNAL REPO URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install selenium.powershell
win_chocolatey:
name: selenium.powershell
version: '3.0.1'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'selenium.powershell' do
action :install
source 'INTERNAL REPO URL'
version '3.0.1'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller selenium.powershell
{
Name = "selenium.powershell"
Version = "3.0.1"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'selenium.powershell':
ensure => '3.0.1',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package was approved by moderator Windos on 04 Dec 2024.
The Selenium PowerShell module allows you to automate browser interaction using the Selenium API. You can navigate to pages, find elements, click buttons, enter text and even take screenshots.
Features
- Wraps the C# WebDriver for Selenium
- Easily execute web-based tests
- Works well with Pester
Package Parameters
The following package parameters can be set:
/core
- Installs the module in the AllUsers scope for PowerShell Core/desktop
- Installs the module in the AllUsers scope for Windows PowerShell (ie. Desktop Edition)
To pass parameters, use --params "''"
(e.g. choco install selenium.powershell [other options] --params="'/Core'"
).
Notes
- If the package is out of date please check Version History for the latest submitted version. If you have a question, please ask it in Chocolatey Community Package Discussions or raise an issue on the Chocolatey Community Packages Repository if you have problems with the package. Disqus comments will generally not be responded to.
MIT License
Copyright (c) 2020 Adam Driscoll
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
The file 'LICENSE.txt' is obtained from <https://github.com/adamdriscoll/selenium-powershell/blob/478369b92437f7bfba14ddc64109ee07ee2ecca2/LICENSE>
The module has been downloaded from <https://www.powershellgallery.com/packages/Selenium>
and zipped into 'selenium.zip'. It can be verified by following these steps:
1. Save the module from the PowerShell Gallery:
- Save-Module -Name Selenium -Path . -RequiredVersion 3.0.1
2. Get the checksum for each file saved to `Selenium\3.0.1` using one of the following methods:
- Using powershell function 'Get-FileHash'
- Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:
file name: LICENSE
checksum type: SHA256
checksum: BAEB4A5B8A2F782E21C9F508EEBC728ADBA739F7B7FB8BA3FF07747A4C9FE296
file name: README.md
checksum type: SHA256
checksum: D7DAE9FDD317D06EC5E33AE032963095DD6D4A0850DCF5939F65784237294A47
file name: Selenium-Binary-Updater.ps1
checksum type: SHA256
checksum: 5EB49321251411333B4FB00E4F3695B5E5F2B8B5B5179E8041AEE32E05F0C12D
file name: Selenium.psd1
checksum type: SHA256
checksum: BDFBD97AD53905E6921AD44C3BFE1790A8DDDF8FA30411877E0CC2C18DB30B2E
file name: Selenium.psm1
checksum type: SHA256
checksum: CA60DD2DAEF1204540C2A35D5849E9F25BADD76328DFD71A33DD4CA16E9F88CF
file name: SeleniumClasses.ps1
checksum type: SHA256
checksum: 884A78F44A0A36FD0F5EA4279E75F976D3A3CBB3C95F2C1203816F3ACD93A66B
file name: assemblies\chromedriver.exe
checksum type: SHA256
checksum: 55C5203DB4D44D96F4124C60E69AE0823F4372EFA4B5416675D9564A83D6AD2C
file name: assemblies\chromedriver.exe.sha256
checksum type: SHA256
checksum: B9ECBDF7B19AD0E4099141514D4DEF7C16334570524D750D12DE57F006317116
file name: assemblies\geckodriver.exe
checksum type: SHA256
checksum: 255C9D3571C86841213F49B26D176A6AD440BE8C720E3C2D9226076ADF4F603D
file name: assemblies\geckodriver.exe.sha256
checksum type: SHA256
checksum: B5A4EF0226B2D98DF9EAC1AD5D2DAAB97B04C2D5D65D7A002CE7ADE56A6DB061
file name: assemblies\IEDriverServer.exe
checksum type: SHA256
checksum: A1E26B0E8CB5F8DB1CD784BAC71BBF540485D81E697293B0B4586E25A31A8187
file name: assemblies\IEDriverServer.exe.sha256
checksum type: SHA256
checksum: E487929ABADCCDC39B295212F6FA49632463C2707FC51A4FD406394E8E5970A3
file name: assemblies\msedgedriver.exe
checksum type: SHA256
checksum: 509FFD6D321EF78C8319E68B89807D2437D8DB1718000FE2BB7ECACB1529730D
file name: assemblies\msedgedriver.exe.sha256
checksum type: SHA256
checksum: EFC53256B6BB3D081BDEC13F8BA8398BA999EC69701CD33EADE3C7D5437FE2A8
file name: assemblies\WebDriver.dll
checksum type: SHA256
checksum: 0EE619B1786CF5971C0F9C6EE1859497AECBA93A4953CF92FEA998E8EEFADF3C
file name: assemblies\WebDriver.dll.sha256
checksum type: SHA256
checksum: 7DAA46C412793A6590E03ED079CED7397C6F63005B3EF9D48F897F1E520FEA70
file name: assemblies\WebDriver.Support.dll
checksum type: SHA256
checksum: B59BA7D0CFFE43E722B13AD737CF596F030788B86B5B557CB479F0B6957CCE8A
file name: assemblies\WebDriver.Support.dll.sha256
checksum type: SHA256
checksum: FE5FAAE2D9AE96394020A7617929DAF3E355D8C656A6CB65F9912CA222D25CD8
file name: assemblies\linux\chromedriver
checksum type: SHA256
checksum: B561EFE1551F9CB45DDE6BBF804CA2BC06359415CDAC1B6B16556B095A55011F
file name: assemblies\linux\chromedriver.sha256
checksum type: SHA256
checksum: EF2B40C71F202B4FC5A81B19FF261FC99A54FB89A7AA3BC9B0FE2D4111CFEFEE
file name: assemblies\linux\geckodriver
checksum type: SHA256
checksum: 6590E3B9D9BF292C8DF50B6DF5BCF8A5191D999F9E48F68AA2055EB5746B2C05
file name: assemblies\linux\geckodriver.sha256
checksum type: SHA256
checksum: F1C6C148105997A73960BEC7498B2BBD3875AB6D1B18004880F99B4BCDC22939
file name: assemblies\macos\chromedriver
checksum type: SHA256
checksum: AD35D47CA5CD075939F7F6638188A56B648663D38A0719AF28B3F004BF95E0DD
file name: assemblies\macos\chromedriver.sha256
checksum type: SHA256
checksum: 6FD1760A76C04219E4B5A9382EBF9CB8200A03A555B5EDCAB5950D78D3807504
file name: assemblies\macos\geckodriver
checksum type: SHA256
checksum: D62C2178377ADDEB1BB860426B2C9B10B68D2EEABF0C521529A4A6A7B1E208C4
file name: assemblies\macos\geckodriver.sha256
checksum type: SHA256
checksum: B2F96FFF2033943087EF6066587D770C78604FF3EC7A29A735E6A30E8C66B418
$ErrorActionPreference = 'Stop'
$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
$moduleName = "Selenium"
$moduleVersion = $env:ChocolateyPackageVersion
$savedPaths = Join-Path $toolsDir 'installedpaths'
$pathsToRemove = if (Test-Path $savedPaths) {
Get-Content $savedPaths
} elseif ($PSVersionTable.PSVersion.Major -ge 5) {
Join-Path $env:ProgramFiles "WindowsPowerShell\Modules\$($moduleName)\$($moduleVersion)"
} else {
Join-Path $env:ProgramFiles "WindowsPowerShell\Modules\$($moduleName)"
}
$pathsToRemove | ForEach-Object {
Write-Verbose "Removing '$moduleName' from '$_'."
try {
# First attempt to remove the DLLs. If they're loaded, then we shouldn't remove the rest of the module.
Get-ChildItem -Path $_ -Recurse -Include *.dll | Remove-Item -Force
Remove-Item -Path $_ -Recurse -Force
}
catch {
Write-Warning "We were unable to remove some of the files at $_. This generally means Selenium is currently loaded in a PowerShell session. Please close the PowerShell session it's loaded in and try again."
throw
}
}
md5: B179E83701905D0A554B5BBB36518646 | sha1: C062A88DD654F04DB82FD958296B495DE2A077A8 | sha256: 6D22FFBCF1B8AC0213A32CA4693EF6EDF7D59F6A6301CCD518972F55AD3C11D7 | sha512: 8C85A64547AB64D63BF8BD07DCC670FC712A897133CA90E2FF65EAD72A95DC2AC998AA871FE6E77DFF71804E24DF7C0077FCEB74308B07FBA09B8E79E5948213
Log in or click on link to see number of positives.
- WebDriver.dll (0ee619b1786c) - ## / 69
- WebDriver.Support.dll (b59ba7d0cffe) - ## / 67
- selenium.powershell.3.0.1.nupkg (5c128cea240b) - ## / 62
- Selenium.zip (6d22ffbcf1b8) - ## / 67
- chromedriver.exe (55c5203db4d4) - ## / 72
- geckodriver.exe (255c9d3571c8) - ## / 72
- IEDriverServer.exe (a1e26b0e8cb5) - ## / 69
- msedgedriver.exe (509ffd6d321e) - ## / 67
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Chromium and WebDriver teams. All Rights Reserved.
This package has no dependencies.
Ground Rules:
- This discussion is only about Selenium PowerShell Module and the Selenium PowerShell Module package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or Selenium PowerShell Module, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.