Skip to content

Out of bounds exception when initializing ChromeDevToolsService #3

@jeremydidier86

Description

@jeremydidier86

Hello,
By running devtools-selenium, I have java.lang.ArrayIndexOutOfBoundsException exception when I try to initialize the ChromeDevToolsServices ( this line : ChromeDevToolsService devToolsService = DevToolsService.getDevToolsService(driver));
I don't know why this occurs. I pasted one of your examples to test and it did the same:

Error logs:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at java.base/java.util.Arrays$ArrayList.get(Arrays.java:4351)
at com.qeagle.devtools.services.impl.ChromeServiceImpl.createDevToolsService(ChromeServiceImpl.java:161)
at org.qeagle.devtools.webdriver.DevToolsService.getDevToolsService(DevToolsService.java:24)
at com.vls.tests.MyTestsWithQeagl.main(MyTestsWithQeagl.java:49)
2021-03-24_13h57_17
2021-03-24_13h57_26

You will find attached the screenshots.
Have you already faced this type of issues? What do I have to do to fix it?

Thank you very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions