This project is read-only.
1
Vote

SePSX not working with 2015 versions of WebDriver.dll

description

Hi: When I use the set of files available in SePSX.0.4.7.NET40.zip, I get
the error messages below when starting the Chrome browser. The Chrome window
never appears.

PS C:\JOHN_MIS\PS_EX> ipmo sepsx
PS C:\JOHN_MIS\PS_EX> Start-SeChrome
Started ChromeDriver
port=55835
version=23.0.1240.0
log=C:\JOHN_MIS\PS_EX\chromedriver.log
Start-SeChrome : Object reference not set to an instance of an object.
At line:1 char:15
  • Start-SeChrome <<<<
    • CategoryInfo : NotSpecified: (:) [Start-SeChrome], NullReferenceException
    • FullyQualifiedErrorId : System.NullReferenceException,SePSX.Commands.StartSeChromeCommand
PS C:\JOHN_MIS\PS_EX> test\automation\proxy_launcher.cc(107): error: Value of: app_launched
Actual: 1
Expected: AUTOMATION_SUCCESS
Which is: 0
Error while awaiting automation ping from browser process
[0624/085842:ERROR:ipc_sync_channel.cc(378)] Canceling pending sends
[0624/085842:ERROR:ipc_sync_channel.cc(378)] Canceling pending sends
[0624/085842:ERROR:ipc_sync_channel.cc(378)] Canceling pending sends

PS C:\JOHN_MIS\PS_EX>

When I upgrade Webdriver.dll, chromedriver.exe & IEDriverServer.exe to the latest
available, I can manually call the OpenQA drivers directly and get a new Chrome
browser window, eg:
ipmo \windows\system32\WindowsPowerShell\V1.0\Modules\SePSX\WebDriver.dll
$driver = New-Object OpenQA.Selenium.Chrome.ChromeDriver

When I try to use SEPSX, I get the errors below:

PS C:\JOHN_MIS\PS_EX> ipmo sepsx
PS C:\JOHN_MIS\PS_EX> Start-SeFirefox
Start-SeFirefox : Could not load file or assembly 'WebDriver,
Version=2.25.1.0, Culture=neutral, PublicKeyToken=1c2bd1631853048f' or one of
its dependencies. The system cannot find the file specified.
At line:1 char:1
  • Start-SeFirefox
  • ~~~~~~~~~~~~~~~
    • CategoryInfo : NotSpecified: (:) [Start-SeFirefox], FileNotFoun
      dException
    • FullyQualifiedErrorId : System.IO.FileNotFoundException,SePSX.Commands.S
      tartSeFirefoxCommand
PS C:\JOHN_MIS\PS_EX>

It looks like SePSX.dll is trying to load the much older version of WebDriver.dll

Are you still working on SePSX? Do you have a version that works with current
versions of WebDriver.dll & other .exe files?

If not, perhaps you could update the status of the SePSX project to indicate its
no longer functional or supported?

comments