Skip to content

[🐛 Bug]: Using selenium 4.6 in Ubuntu not able to download the required driver (for chrome) instead gives IllegalStateException  #11291

@PriyomSaha

Description

@PriyomSaha

What happened?

  • I am running the Ubuntu in Virtual Box.

  • I am running a simple browser opening visiting youtube.com.

  • When I am using WebdriverManager it works fine but when I am commenting that particular setup() it throws java.lang.IllegalStateException.

  • Using JAVA.

  • Attached the small 1 line sample code and error.

  • As I am using a Virtual Machine where can I expect the driver to physically occur ?

  • Where in linux machine does the drivers gets downloaded ? Actual path if someone can provide will try once by physically placing the driver

image
image

How can we reproduce the issue?

-Installed VM Virtual Box.
-Loaded the Ubuntu 22.10 iso into it.
-Installed java.
-Installed an preferred IDE (IntelliJ)
-Created a maven project.
-Added Selenium 4.6 as one of the dependency

Relevant log output

![image](https://user-images.githubusercontent.com/44141916/203241010-7bfec6cb-22d3-43de-ac39-ce0f87948b17.png)
![image](https://user-images.githubusercontent.com/44141916/203241267-1e66144c-3b31-4d83-a055-ceef636f83ce.png)

Operating System

Ubuntu

Selenium version

4.6

What are the browser(s) and version(s) where you see this issue?

Chrome 107

What are the browser driver(s) and version(s) where you see this issue?

Not able to fetch the driver

Are you using Selenium Grid?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-rustRust code is mostly Selenium ManagerI-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions