Selenium Error HELP C# !: System.Reflection.TargetInvocationException : OpenQA.Selenium.WebDriverException :

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Selenium Error HELP C# !: System.Reflection.TargetInvocationException : OpenQA.Selenium.WebDriverException :



Can anybody help with this Selenium error?



I have one C# solution, with only one Specflow feature with one single tests to navigate to an Url using Chrome driver.



When I run the only test it opens Chrome but does not go to the URL, it throws that error :(



Code snippet


namespace MotorClaims.AcceptanceTests.Steps
{
[Binding]
public class Steps
{
public IWebDriver webDriver;
public Steps()

webDriver = new ChromeDriver();


[Given(@"I am at the motor claim homepage")]
public void GivenIAmAtTheMotorClaimHomepage()

webDriver.Navigate().GoToUrl("https://XXXXXXX");





TargetInvocationException does not provide optimum information. Try to see Inner Exception to get the root cause which will help us analyzing your issue. Update the question with the error stack trace.
– New contributor
Aug 2 at 5:41






Kindly paste error stack trace
– Gaurav Genius
Aug 2 at 6:19





Thanks guys, i found the solution for the issue. It was the version of my Chrome driver. i had to downgrade to 2.37 from 2.40. :)
– Esteban Balvin
Aug 6 at 3:27




1 Answer
1



Thanks guys, I found the solution for the issue. It was the version of my Chrome driver. I had to downgrade to 2.37 from 2.40. :) .



it seems like the latest version of Chrome driver is problematic with Chrome browser 64.0.3






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

make 2 or more post in bootsrap

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3

Firebase Auth - with Email and Password - Check user already registered