You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SpecBind 2.1.1.413
Windows 10 Version 1809 (Build 17763.437)
Microsoft Edge 44.17763.1.0
Selenium 3.5.1
Scenario: Navigate to the logon page
Given I navigated to the Logon page
Then I am on the Logon page
Using MicrosoftWebDriver v6.17134, an exception occurs:
OpenQA.Selenium.WebDriverException: Unexpected error. Unknown error.
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Edge.EdgeDriver..ctor(EdgeDriverService service, EdgeOptions options)
at SpecBind.Selenium.Drivers.SeleniumEdgeDriver.CreateLocalDriver(BrowserFactoryConfiguration browserFactoryConfiguration) in C:\github\dpiessens\specbind\src\SpecBind.Selenium\Drivers\SeleniumEdgeDriver.cs:line 28
at SpecBind.Selenium.Drivers.SeleniumDriverBase.Validate(BrowserFactoryConfiguration browserFactoryConfiguration, String seleniumDriverPath) in C:\github\dpiessens\specbind\src\SpecBind.Selenium\Drivers\SeleniumDriverBase.cs:line 92
at SpecBind.Selenium.SeleniumBrowserFactory.ValidateDriverSetup(ILogger logger) in C:\github\dpiessens\specbind\src\SpecBind.Selenium\SeleniumBrowserFactory.cs:line 132
at SpecBind.BrowserSupport.BrowserFactory.ValidateDriverSetup() in C:\github\dpiessens\specbind\src\SpecBind\BrowserSupport\BrowserFactory.cs:line 102
at SpecBind.BrowserSupport.WebDriverSupport.CheckForDriver() in C:\github\dpiessens\specbind\src\SpecBind\BrowserSupport\WebDriverSupport.cs:line 71
at SpecBind.BrowserSupport.WebDriverSupport.BeforeTestRun() in C:\github\dpiessens\specbind\src\SpecBind\BrowserSupport\WebDriverSupport.cs:line 51
at lambda_method(Closure , IContextManager )
at TechTalk.SpecFlow.Bindings.BindingInvoker.InvokeBinding(IBinding binding, IContextManager contextManager, Object[] arguments, ITestTracer testTracer, TimeSpan& duration)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.InvokeHook(IBindingInvoker invoker, IHookBinding hookBinding, HookType hookType)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.FireEvents(HookType hookType)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.OnTestRunStart()
at TechTalk.SpecFlow.TestRunner.OnTestRunStart()
at TechTalk.SpecFlow.TestRunnerManager.InitializeBindingRegistry(ITestRunner testRunner)
at TechTalk.SpecFlow.TestRunnerManager.CreateTestRunner(Int32 threadId)
at TechTalk.SpecFlow.TestRunnerManager.GetTestRunner(Int32 threadId)
at TechTalk.SpecFlow.TestRunnerManager.GetTestRunner(Assembly testAssembly, Nullable`1 managedThreadId)
at SpecBind.Selenium.IntegrationTests.Features.EdgeBrowserFeature.FeatureSetup(TestContext testContext)
Using MicrosoftWebDriver v10.0.17763.1, an exception occurs:
System.InvalidOperationException: System.InvalidOperationException: The specified arguments passed to the command are invalid.
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Edge.EdgeDriver..ctor(EdgeDriverService service, EdgeOptions options)
at SpecBind.Selenium.Drivers.SeleniumEdgeDriver.CreateLocalDriver(BrowserFactoryConfiguration browserFactoryConfiguration) in C:\github\dpiessens\specbind\src\SpecBind.Selenium\Drivers\SeleniumEdgeDriver.cs:line 28
at SpecBind.Selenium.Drivers.SeleniumDriverBase.Validate(BrowserFactoryConfiguration browserFactoryConfiguration, String seleniumDriverPath) in C:\github\dpiessens\specbind\src\SpecBind.Selenium\Drivers\SeleniumDriverBase.cs:line 92
at SpecBind.Selenium.SeleniumBrowserFactory.ValidateDriverSetup(ILogger logger) in C:\github\dpiessens\specbind\src\SpecBind.Selenium\SeleniumBrowserFactory.cs:line 132
at SpecBind.BrowserSupport.BrowserFactory.ValidateDriverSetup() in C:\github\dpiessens\specbind\src\SpecBind\BrowserSupport\BrowserFactory.cs:line 102
at SpecBind.BrowserSupport.WebDriverSupport.CheckForDriver() in C:\github\dpiessens\specbind\src\SpecBind\BrowserSupport\WebDriverSupport.cs:line 71
at SpecBind.BrowserSupport.WebDriverSupport.BeforeTestRun() in C:\github\dpiessens\specbind\src\SpecBind\BrowserSupport\WebDriverSupport.cs:line 51
at lambda_method(Closure , IContextManager )
at TechTalk.SpecFlow.Bindings.BindingInvoker.InvokeBinding(IBinding binding, IContextManager contextManager, Object[] arguments, ITestTracer testTracer, TimeSpan& duration)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.InvokeHook(IBindingInvoker invoker, IHookBinding hookBinding, HookType hookType)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.FireEvents(HookType hookType)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.OnTestRunStart()
at TechTalk.SpecFlow.TestRunner.OnTestRunStart()
at TechTalk.SpecFlow.TestRunnerManager.InitializeBindingRegistry(ITestRunner testRunner)
at TechTalk.SpecFlow.TestRunnerManager.CreateTestRunner(Int32 threadId)
at TechTalk.SpecFlow.TestRunnerManager.GetTestRunner(Int32 threadId)
at TechTalk.SpecFlow.TestRunnerManager.GetTestRunner(Assembly testAssembly, Nullable`1 managedThreadId)
at SpecBind.Selenium.IntegrationTests.Features.EdgeBrowserFeature.FeatureSetup(TestContext testContext)
In order to resolve the issue, I had to:
Update to Selenium.WebDriver.3.141.0 and Selenium.Support.3.141.0.
Remove PhantomJS support
Implement IWebElement.GetProperty in .\src\SpecBind.Selenium\WebElement.cs:
/// <summary>
/// Gets the value of a JavaScript property of this element.
/// </summary>
/// <param name="propertyName">The name JavaScript the JavaScript property to get the value of.</param>
/// <returns>The JavaScript property's current value. Returns a <see langword="null" /> if the
/// value is not set or the property does not exist.</returns>
public string GetProperty(string propertyName)
{
return this.WrappedElement.GetProperty(propertyName);
}
Rename EdgePageLoadStrategy to PageLoadStrategy to fix a compiler error in .\src\SpecBind.Selenium\Drivers\SeleniumEdgeDriver.cs:
var edgeOptions = new EdgeOptions { PageLoadStrategy = PageLoadStrategy.Normal };
The text was updated successfully, but these errors were encountered:
Hi.
SpecBind 2.1.1.413
Windows 10 Version 1809 (Build 17763.437)
Microsoft Edge 44.17763.1.0
Selenium 3.5.1
Using MicrosoftWebDriver v6.17134, an exception occurs:
Using MicrosoftWebDriver v10.0.17763.1, an exception occurs:
In order to resolve the issue, I had to:
IWebElement.GetProperty
in.\src\SpecBind.Selenium\WebElement.cs
:EdgePageLoadStrategy
toPageLoadStrategy
to fix a compiler error in.\src\SpecBind.Selenium\Drivers\SeleniumEdgeDriver.cs
:The text was updated successfully, but these errors were encountered: