WebDriver driver = new ChromeDriver();

787 views
Skip to first unread message

Shaheen Ahmed

unread,
Jun 17, 2019, 3:01:32 AM6/17/19
to Selenium Users
I am getting the following error message under ChromeDriver() Type mismatch: cannot convert from ChromeDriver to WebDriver. I have installed the Selenium 3.9 Jar files (zip files and standalone server file), Eclipse and JDK Kit. 
I can't correct the error. Can anyone help with how to fix this?

Joe Ward

unread,
Jun 17, 2019, 3:16:58 AM6/17/19
to seleniu...@googlegroups.com
Stop trying to cast ChromeDriver to WebDriver. Can’t say much more than that without seeing the code you are trying to execute. 

On Mon, 17 Jun 2019 at 08:01, Shaheen Ahmed <shahe...@gmail.com> wrote:
I am getting the following error message under ChromeDriver() Type mismatch: cannot convert from ChromeDriver to WebDriver. I have installed the Selenium 3.9 Jar files (zip files and standalone server file), Eclipse and JDK Kit. 
I can't correct the error. Can anyone help with how to fix this?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/71781859-1e53-4392-9e15-1b77a1c6b3fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages