I see on Github that on July 2 Adam Driscoll updated the Selenium module with the Wait-SeElementExists cmdlet. I want to get the updated version of the module. However, when I run ‘update-module selenium’, nothing appears to get downloaded and the .psm1 file in C:\Program Files\WindowsPowerShell\Modules\Selenium\1.1 retains the timestamp from 2018.
I’m not clear on the relationship between Github and the PowerShellGallery (source for update-module?). I assume they are maintained separately. Maybe Adam committed the changes to Github but didn’t post the new version to PowerShellGallery?
I downloaded the new module file directly from Github, unzipped it and replaced the previous version. However, when I execute ‘import-module selenium’ I get the error:
import-module : File C:\Program Files\WindowsPowerShell\Modules\selenium\1.1\Selenium.psm1 cannot be loaded. The file C:\Program Files\WindowsPowerShell\Modules\selenium\1.1\Selenium.psm1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
Any ideas on how to update the Selenium module?
Thanks, Darin