java.lang.NoClassDefFoundError: org/openqa/selenium/remote/codec/w3c/W3CHttpCommandCodec

后端 未结 3 896
旧时难觅i
旧时难觅i 2021-01-22 02:44

I\'m beginner in this, so be patient :) I try to launch simple test and have a problem caused by: java.lang.ClassNotFoundException: org.openqa.selenium.remote.codec.w3c.W3CHttp

3条回答
  •  终归单人心
    2021-01-22 03:12

    You have to add a webdriver e.g.:

    
        org.seleniumhq.selenium
        selenium-firefox-driver
        3.141.59
    
    

    org/openqa/selenium/remote/codec/w3c/W3CHttpCommandCodec is part of

    
       org.seleniumhq.selenium
       selenium-remote-driver
       3.14.0
    
    

    which is a dependency from selenium-firefox-driver

提交回复
热议问题