testleaf-software/devtools-selenium

Out of bounds exception when initializing ChromeDevToolsService

Opened this issue · 0 comments

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