zebrunner / carina-webdriver

Apache License 2.0
7 stars 10 forks source link

java.lang.IllegalArgumentException: Cannot detect driver type. Capabilities 'browserName', 'platformName', 'udid' are empty #136

Closed akamarouski closed 1 year ago

akamarouski commented 1 year ago

We got error when restartDriver called for the Desktop driver

java.lang.IllegalArgumentException: Cannot detect driver type. Capabilities 'browserName', 'platformName', 'udid' are empty.

    at com.zebrunner.carina.webdriver.core.capability.CapabilityUtils.getDriverType(CapabilityUtils.java:47)
    at com.zebrunner.carina.webdriver.core.factory.DriverFactory.create(DriverFactory.java:67)
    at com.zebrunner.carina.webdriver.IDriverPool.createDriver(IDriverPool.java:364)
    at com.zebrunner.carina.webdriver.IDriverPool.restartDriver(IDriverPool.java:198)
    at com.zebrunner.carina.webdriver.IDriverPool.restartDriver(IDriverPool.java:167)
    at ...

Since 1.1.4 carina-core