-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to run scripts #2
Comments
Thank you for your report. I'll inspect for what is wrong. Please give me some time to resolve this issue. |
The issue seems to be fixed with the latest version. But I can still not use Chrome of IEDrivers... the .exe files is not part of the package?Reading the install.ps1 files it seems like the driver is to be downloaded... but when I try to run project using IEdriver i am getting: SpecsFor.Mvc.DriverNotFoundException : The configured web driver could not be initialized because the driver executable was not found in 'C:\Source[PATH]\Debug\Tests\Web.AcceptanceTest'. Make sure the driver is copied to the output directory of your spec project, or install the driver in a location, and add that location to your PATH environment variable. So, how is this suppose to work? What am I missing? |
Could you let me show your project files and source codes? (except I'v never used For example, the exception message which you reported is:
But, this NuGet package |
The error has nothing to do with SpecsFor. I am missing the my build output path value on testproject is: When I browse to that folder the IEDriverServer.exe is NOT there. So the email: [email protected] On 28 February 2015 at 01:29, jsakamoto [email protected] wrote:
|
Okay, let's shoot trouble step by step together. If you success installing the NuGet package, you can find If the driver.exe does not exist, it may be a network problem. You can detect what happens to installing the package using "NuGet package manager console" instead of "NuGet Package Manager" GUI dialog. If you encounter fail of installing the package by network problem, you can see the error message like below image. The error message does not appear installing via GUI dialog. The network error often causes by firewall/http proxy in organization LAN. I recommend reading the article at below link. |
On 3 March 2015 at 14:25, jsakamoto [email protected] wrote: Hi there, I tried to do a reinstall... alot of errors: PM> Update-Package -reinstall Selenium.WebDriver.IEDriver Removing 'Selenium.WebDriver.IEDriver 2.44.0.0' from Exception calling "Item" with "1" argument(s): "The parameter is incorrect. At
Successfully removed 'Selenium.WebDriver.IEDriver 2.44.0.0' from Removing 'Selenium.WebDriver.IEDriver 2.44.0.0' from Web.AcceptanceTest. Exception calling "Item" with "1" argument(s): "The parameter is incorrect. At
Successfully removed 'Selenium.WebDriver.IEDriver 2.44.0.0' from Uninstalling 'Selenium.WebDriver.IEDriver 2.44.0.0'. Successfully uninstalled 'Selenium.WebDriver.IEDriver 2.44.0.0'. Installing 'Selenium.WebDriver.IEDriver 2.44.0.0'. Successfully installed 'Selenium.WebDriver.IEDriver 2.44.0.0'. You cannot call a method on a null-valued expression. At
Adding 'Selenium.WebDriver.IEDriver 2.44.0.0' to Successfully added 'Selenium.WebDriver.IEDriver 2.44.0.0' to Exception calling "AddFromFile" with "1" argument(s): "Cannot add the link ot be found." At
Exception calling "Item" with "1" argument(s): "The parameter is incorrect. At
'Selenium.WebDriver.IEDriver 2.44.0.0' already installed. Adding 'Selenium.WebDriver.IEDriver 2.44.0.0' to Web.AcceptanceTest. Successfully added 'Selenium.WebDriver.IEDriver 2.44.0.0' to Exception calling "AddFromFile" with "1" argument(s): "Cannot add the link ot be found." At
Exception calling "Item" with "1" argument(s): "The parameter is incorrect. At
The IEDriverServer.exe file is not located in Content folder... so the file email: [email protected] |
It is possibly failed decompressing the downloaded .zip file ( Crush point is here: https://github.com/jsakamoto/nupkg-selenium-webdriver-iedriver/blob/master/Init.ps1#L54 But I'm not sure about there is no possibility of happening something wrong in downloading process. I'm considering that including if the NuGet package file included How do you see it? |
I would prefer it be part of the package. Not downloading at build time. Same for Chrome driver. |
I'm changing the package implementation to including driver .exe file. I published Beta version. https://www.nuget.org/packages/Selenium.WebDriver.IEDriver/2.45.0.2-beta Would you try to use v.2.45.0.2 Beta? NOTICE: It is beta version, so that version is concealed normaly. You should change the filter of "NuGet Pakcage Manager" GUI dialog to "Include Prerelease", or, if you use Package manager console then append "-Pre" switch when executing I'll try to apply same changing to chrome driver package. |
I have installed beta. There was an error. But the .exe file was included PM> update-package Selenium.WebDriver.IEDriver -Pre Updating 'Selenium.WebDriver.IEDriver' from version '2.45.0.1' to Removing 'Selenium.WebDriver.IEDriver 2.45.0.1' from Exception calling "Item" with "1" argument(s): "The parameter is incorrect. At
Successfully removed 'Selenium.WebDriver.IEDriver 2.45.0.1' from Adding 'Selenium.WebDriver.IEDriver 2.45.0.2-beta' to Installing 'Selenium.WebDriver.IEDriver 2.45.0.2-beta'. Successfully installed 'Selenium.WebDriver.IEDriver 2.45.0.2-beta'. Successfully added 'Selenium.WebDriver.IEDriver 2.45.0.2-beta' to Exception calling "AddFromFile" with "1" argument(s): "Unspecified error At
Updating 'Selenium.WebDriver.IEDriver' from version '2.45.0.1' to Removing 'Selenium.WebDriver.IEDriver 2.45.0.1' from Web.AcceptanceTest. Exception calling "Item" with "1" argument(s): "The parameter is incorrect. At
Successfully removed 'Selenium.WebDriver.IEDriver 2.45.0.1' from Adding 'Selenium.WebDriver.IEDriver 2.45.0.2-beta' to Web.AcceptanceTest. Successfully added 'Selenium.WebDriver.IEDriver 2.45.0.2-beta' to Exception calling "AddFromFile" with "1" argument(s): "Unspecified error At
Uninstalling 'Selenium.WebDriver.IEDriver 2.45.0.1'. Successfully uninstalled 'Selenium.WebDriver.IEDriver 2.45.0.1'. email: [email protected] On 6 March 2015 at 07:06, jsakamoto [email protected] wrote:
|
I believe the problem might be that we have specified an output path that is not a subfolder of the project. Well it is a guess anyway. This is the error I am getting:
You cannot call a method on a null-valued expression.
At C:\Source\Reward\trunk\Se.Web\packages\Selenium.WebDriver.ChromeDriver.2.10.0.0\tools\init.ps1:53 char:32
You cannot call a method on a null-valued expression.
At C:\Source\Reward\trunk\Se.Web\packages\Selenium.WebDriver.ChromeDriver.2.13.0.0\tools\init.ps1:53 char:32
You cannot call a method on a null-valued expression.
At C:\Source\Reward\trunk\Se.Web\packages\Selenium.WebDriver.IEDriver.2.44.0.0\tools\init.ps1:54 char:32
It is the same for ChromeDriver so I posted that also.
The text was updated successfully, but these errors were encountered: