Error after upgrading to latest version of Selenium System InvalidOperationException invalid argument entry 0 of firstMatch is invalid

0 votes

I am using the latest version of Chrome which currently is 87.
So I thought it was time to upgrade my Selenium driver to 87.0.4280.88.

The C# code I have is as follows:

            IWebDriver webDriverPoloniex = null;
            ChromeOptions options = new ChromeOptions();
            options.AddArguments("--no-sandbox");
            webDriverPoloniex = new ChromeDriver(options);//Error is in this line

This code worked.
But after I upgraded Selenium to 87.0.4280.88 I get the error:
System.InvalidOperationException: 'invalid argument: entry 0 of 'firstMatch' is invalid

If I search for this error online than the answers I find claim that the user should upgrade to the latest version of Selenium. But that is what I did????

Is there something I forgot. Do I need to upgrade something else as well?

Did they change the way for passing Arguments?

Hope someone can help.

Kind regards,

Clemens Linders

Dec 3, 2020 in Selenium by Clemens
• 120 points

edited Dec 3, 2020 by Niroj 2,775 views

Hello @Clemens ,

I think the error pop up due to compatibility issue of your chrome and  Selenium driver 

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Selenium

0 votes
1 answer
0 votes
1 answer

How to capture the status change of a process in selenium, after the process is kickstarted(Run)

For your requirement of capturing and displaying ...READ MORE

answered Apr 14, 2020 in Selenium by Jake George
3,292 views
0 votes
1 answer

Selenium IDE (2.9.1.1-signed) not working with latest Version of Firefox

Unfortunately, Selenium IDE will be deprecated soon. ...READ MORE

answered Mar 30, 2018 in Selenium by nsv999
• 5,500 points

edited Apr 4, 2018 by nsv999 7,461 views
0 votes
2 answers

Latest Version of Chrome Driver for Selenium Webdriver

Hi, The latest version of Chrome driver for ...READ MORE

answered Aug 28, 2019 in Selenium by Abha
• 28,140 points
5,609 views
0 votes
1 answer

Upgrading or Updating existing version of Selenium Java Project

I downloaded the java client driver from ...READ MORE

answered Apr 13, 2018 in Selenium by commander
2,365 views
0 votes
1 answer

Which Firefox version is compatible with Selenium 3.6.0

You would need to use GeckoDriver if ...READ MORE

answered Apr 17, 2018 in Selenium by king_kenny
• 3,710 points
1,579 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
13,767 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,186 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,910 points
7,260 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,898 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP