Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SmartClientWebDriver does Not work with selenium-api 4.1.3 or higher

    After upgrading selenium to version 4.1.4 it is not possible to instantiate SmartClientChromeDriver.

    Steps to reproduce:
    - Has dependency to following libraries:
    org.seleniumhq.selenium:selenium-java:4.1.3
    com.isomorphic.webdriver:isomorphic_webdriver:13.0p

    - Run java code(test) with following line:
    Code:
    SmartClientChromeDriver driver = new SmartClientChromeDriver(options);

    Expected:
    - SmartClientChromeDriver instantiated and webdriver is started.


    Actual:
    - Code fails with runtime exception:

    Code:
    org/openqa/selenium/ElementNotVisibleException
    java.lang.NoClassDefFoundError: org/openqa/selenium/ElementNotVisibleException
    ...
    Caused by: java.lang.ClassNotFoundException: org.openqa.selenium.ElementNotVisibleException
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

    Root cause:
    ElementNotVisibleException was removed from selenium-api 4.1.3:
    https://www.javadoc.io/doc/org.selen...e-summary.html
    butSmartClientWebDriver.java still has a reference to it:
    import org.openqa.selenium.ElementNotVisibleException;

    Could you please fix this and release new version that supports newer versions of selenium webdriver.
    Last edited by Ant0n777; 13 May 2022, 06:58.

    #2
    Hello,
    discovered this post after tried to upgrade selenium api to 4.10.0, and indeed we are stuck to 4.1.2 there...

    Comment

    Working...
    X