Powershell Dynamically Add To Array Javascript Methods In Selenium