Personnal script to automatically access my University (Paris Dauphine) Teams account on Google Chrome in windows 10 using Selenium
- Authorize script
set-executionpolicy unrestricted
- Install Powershell Selenium
Install-Module Selenium
The script is using Webdriver, check this .exe
chromewebdriver.exe
C:\Program Files\WindowsPowerShell\Modules\Selenium\3.0.1\assemblies
If it doesn't work:
Check your Chrome Version here with: chrome://version/
-
Add your info and the link inside the script And get the chromewebdriver for your Chrome version and replace it https://sites.google.com/a/chromium.org/chromedriver/downloads
-
Add your info and the link inside the script
Exemple:
$mail="madmax@dauphine.eu"
$username="madmax20"