Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/357.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java org.openqa.selenium.SessionNotCreatedException:找不到匹配的功能集_Java_Selenium_Jenkins - Fatal编程技术网

Java org.openqa.selenium.SessionNotCreatedException:找不到匹配的功能集

Java org.openqa.selenium.SessionNotCreatedException:找不到匹配的功能集,java,selenium,jenkins,Java,Selenium,Jenkins,我无法找出这里的错误:我使用Gecko 0.16和Selenium 3.4在Saucelabs和FF54上 以下是控制台输出: org.openqa.selenium.SessionNotCreatedException: Unable to find a matching set of capabilities 14:19:13 Build info: version: '3.4.0', revision: 'unknown', time: 'unknown' 14:19:13 System

我无法找出这里的错误:我使用Gecko 0.16和Selenium 3.4在Saucelabs和FF54上

以下是控制台输出:

org.openqa.selenium.SessionNotCreatedException: Unable to find a matching set of capabilities
14:19:13 Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
14:19:13 System info: host: 'jenkins-big-slave001.clearslideng.com', ip: '10.170.113.99', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.20-11.31.amzn1.x86_64', java.version: '1.8.0_112'
14:19:13 remote stacktrace: stack backtrace:
14:19:13    0:           0x4f99ad - backtrace::backtrace::trace::h45ace4059cd74233
14:19:13    1:           0x4f9e92 - backtrace::capture::Backtrace::new::hb5a725a088a2a2fc
14:19:13    2:           0x439c38 - geckodriver::marionette::MarionetteHandler::create_connection::h3eac9ab4802e2cd0
14:19:13    3:           0x442539 - <geckodriver::marionette::MarionetteHandler as webdriver::server::WebDriverHandler<geckodriver::marionette::GeckoExtensionRoute>>::handle_command::hec53c2ea4656249d
14:19:13    4:           0x434924 - webdriver::server::start::{{closure}}::he5e71944552dea53
14:19:13    5:           0x405f87 - std::panicking::try::do_call::h061d4025362f1291
14:19:13    6:           0x5b567a - panic_unwind::__rust_maybe_catch_panic
14:19:13                         at /buildslave/rust-buildbot/slave/stable-dist-rustc-musl-linux/build/src/libpanic_unwind/lib.rs:98
14:19:13    7:           0x416fd7 - <F as alloc::boxed::FnBox<A>>::call_box::hf93806550e6c682e
14:19:13    8:           0x5ade94 - alloc::boxed::{{impl}}::call_once<(),()>
14:19:13                         at /buildslave/rust-buildbot/slave/stable-dist-rustc-musl-linux/build/src/liballoc/boxed.rs:624
14:19:13                          - std::sys_common::thread::start_thread
14:19:13                         at /buildslave/rust-buildbot/slave/stable-dist-rustc-musl-linux/build/src/libstd/sys_common/thread.rs:21
14:19:13                          - std::sys::imp::thread::{{impl}}::new::thread_start
14:19:13                         at /buildslave/rust-buildbot/slave/stable-dist-rustc-musl-linux/build/src/libstd/sys/unix/thread.rs:84
org.openqa.selenium.SessionNotCreatedException:找不到匹配的功能集
14:19:13生成信息:版本:“3.4.0”,版本:“未知”,时间:“未知”
14:19:13系统信息:主机:'jenkins-big-slave001.Clearlideng.com',ip:'10.170.113.99',os.name:'Linux',os.arch:'amd64',os.version:'4.9.20-11.31.amzn1.x86_64',java.version:'1.8.0_112'
14:19:13远程堆栈跟踪:堆栈回溯跟踪:
14:19:13 0:0x4f99ad-backtrace::backtrace::trace::h45ace4059cd74233
14:19:13 1:0x4f9e92-回溯::捕获::回溯::新建::hb5a725a088a2a2fc
14:19:13 2:0x439c38-geckodriver::木偶网::木偶网处理器::创建连接::H3EAC9AB4802ED0
14:19:13 3:0x442539-::handle_命令::hec53c2ea4656249d
14:19:13 4:0x434924-webdriver::server::start:{{closure}}::he5e71944552dea53
14:19:13 5:0x405f87-std::panicking::try::do_call::h061d4025362f1291
14:19:13 6:0x5b567a-恐慌\放松::\你生锈\你可能会陷入恐慌
14:19:13 at/buildslave/rust buildbot/slave/stable dist rustc musl linux/build/src/libpanic_unwind/lib.rs:98
14:19:13 7:0x416fd7-::呼叫盒::hf93806550e6c682e
14:19:13 8:0x5ade94-alloc::boxed:{{impl}}}::调用_一次
14:19:13 at/buildslave/rust buildbot/slave/stable dist rustc musl linux/build/src/liballoc/boxed.rs:624
14:19:13-std::sys\u common::thread::start\u thread
14:19:13 at/buildslave/rust buildbot/slave/stable dist rustc musl linux/build/src/libstd/sys_common/thread.rs:21
14:19:13-std::sys::imp::thread:{{impl}}::new::thread_start
14:19:13 at/buildslave/rust buildbot/slave/stable dist rustc musl linux/build/src/libstd/sys/unix/thread.rs:84

遇到同样的问题。只需更新到最新版本。在撰写本文时,FF 56.0.1、Gecko 0.19.0 WebDriver 3.6.0遇到了同样的问题。只需更新到最新版本。在撰写本文时,FF 56.0.1,Gecko 0.19.0 WebDriver 3.6.0

请向我们展示您的代码?错误发生在哪一点?错误
org.openqa.selenium.SessionNotCreatedException:找不到匹配的功能集
说明了一切。检查WebDriver实例的初始化请显示您的代码?错误发生在哪一点?错误
org.openqa.selenium.SessionNotCreatedException:找不到匹配的功能集
说明了一切。检查WebDriver实例的初始化