{"repo":"sergueik/powershell_selenium","free":true,"listed":false,"github":"https://github.com/sergueik/powershell_selenium","clone":"git clone https://github.com/sergueik/powershell_selenium.git","description":"Split selenium part of powershell_ui_samples git repository","language":"PowerShell","stars":41,"topics":["powershell","selenium-webdriver","csharp","selenium"],"license":null,"category":"scrapers-browser-automation","readme_excerpt":"Info Collection of scripts and modules for controling with the browser via .net Selenium driver managed assembly package from Powershell The project is illustrating various typical Selenium tasks in a problem-solution fashion. The code is using well known syntax of invoking public C# Selenium API methods from Powershell in a transparent fashion: becomes Naturally, Powershell version is somehow quite more verbose therefore the common / shared functionality is put into selenium common.psm1 and page navigation common.psm1 modules. Basic Usage: To run a Selenium test in Powershell, start with the following script: Run the script with the option: Prerequisites Powershell relies on C# Selenium Client API library for interaction with the browser, Nunit for assertions and log4net for logging. Thus needs those asemblies need to be available in the directory $env:SHARED ASSEMBLIES PATH (default used in this project is c:\\java\\selenium\\csharp\\sharedassemblies ): Download past versions download links on nuget: Selenium.WebDriver v. 2.53.1 Selenium.Support v. 2.53.1 e.g. with NOTE: you will have to close the powershell window that has been running Powershell Selenium scripts to avoid The process cannot access the file because it is being used by another process error. There is no strict enforcement to use Selenium 2.x - the Selenium 3.x libraries work as well. In particular, headless mode can be enabled by passing the -headless flag to the launch selenium helper method.OB The Selenium jar","default_branch":null,"files":null,"tree":[],"storefront":"/r/sergueik","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sergueik/powershell_selenium/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}