mozilla / geckodriver

WebDriver for Firefox
https://firefox-source-docs.mozilla.org/testing/geckodriver/
Mozilla Public License 2.0
7.14k stars 1.52k forks source link

contextClick() does not trigger "contextmenu" event #660

Closed codingphil closed 7 years ago

codingphil commented 7 years ago

When calling contextClick() via the Actions API the "contextmenu" event (oncontextmenu) is not triggered.

Maybe related to #233.

Firefox Version

53.0 (64bit) geckodriver 0.15

Tested also with FF 52.0.2.

Platform

Windows 10 Anniversary Update (Redstone 1)

Steps to reproduce

    driver.navigate().to("SimpleClickEvents.html"); // TODO: Adapt URL to file system / local server
    WebElement elem = driver.findElementById("clickArea");

    new Actions(driver).contextClick(elem).perform();

    WebElement resultElem = driver.findElementById("resultOnContextMenu");
    assertEquals("YES", resultElem.getText()); // FAILS because 'contextmenu' event is not triggered
codingphil commented 7 years ago

Log with Firefox 52.0.2.6291 32bit and geckodriver 0.15:

Apr 20, 2017 8:59:47 PM org.openqa.selenium.firefox.FirefoxOptions toCapabilities
INFORMATION: Preferring the firefox binary in these options (C:\Program Files (x86)\Mozilla Firefox\firefox.exe rather than /Program Files (x86)/Mozilla Firefox/firefox.exe)
Apr 20, 2017 8:59:47 PM org.openqa.selenium.firefox.FirefoxOptions toCapabilities
INFORMATION: Preferring the firefox binary in these options (C:\Program Files (x86)\Mozilla Firefox\firefox.exe rather than null)
Apr 20, 2017 8:59:48 PM org.openqa.selenium.firefox.FirefoxOptions toCapabilities
INFORMATION: Preferring the firefox binary in these options (C:\Program Files (x86)\Mozilla Firefox\firefox.exe rather than /Program Files (x86)/Mozilla Firefox/firefox.exe)
Apr 20, 2017 8:59:48 PM org.openqa.selenium.firefox.FirefoxOptions toCapabilities
INFORMATION: Preferring the firefox binary in these options (C:\Program Files (x86)\Mozilla Firefox\firefox.exe rather than null)
1492714788091   geckodriver INFO    Listening on 127.0.0.1:16543
1492714788766   mozprofile::profile INFO    Using profile path C:\Users\Philip2\AppData\Local\Temp\rust_mozprofile.p6JdUEGqvC4f
1492714788769   geckodriver::marionette INFO    Starting browser C:\Program Files (x86)\Mozilla Firefox\firefox.exe with args []
1492714788773   geckodriver::marionette INFO    Connecting to Marionette on localhost:49469
1492714789315   Marionette  DEBUG   Marionette enabled via build flag and pref
1492714789599   Marionette  INFO    Listening on port 49469
1492714789774   geckodriver::marionette DEBUG   TCP connection established
1492714789937   Marionette  DEBUG   Accepted connection conn0 from 127.0.0.1:49473
1492714789947   geckodriver::marionette DEBUG   � {"applicationType":"gecko","marionetteProtocol":3}
1492714789947   geckodriver::marionette DEBUG   → 413:[0,1,"newSession",{"capabilities":{"desiredCapabilities":{"browserName":"firefox","firefox_binary":{"class":"org.openqa.selenium.firefox.FirefoxBinary","extraEnv":{},"hCode":992846223,"timeout":45000},"marionette":true,"platform":"ANY","version":""},"requiredCapabilities":{"firefox_binary":{"class":"org.openqa.selenium.firefox.FirefoxBinary","extraEnv":{},"hCode":992846223,"timeout":45000}}},"sessionId":null}]
1492714789971   Marionette  TRACE   conn0 -> [0,1,"newSession",{"capabilities":{"desiredCapabilities":{"browserName":"firefox","firefox_binary":{"class":"org.openqa.selenium.firefox.FirefoxBinary","extraEnv":{},"hCode":992846223,"timeout":45000},"marionette":true,"platform":"ANY","version":""},"requiredCapabilities":{"firefox_binary":{"class":"org.openqa.selenium.firefox.FirefoxBinary","extraEnv":{},"hCode":992846223,"timeout":45000}}},"sessionId":null}]
1492714789974   Marionette  CONFIG  Matched capabilities: {"browserName":"firefox","browserVersion":"52.0.2","platformName":"windows_nt","platformVersion":"10.0","pageLoadStrategy":"normal","acceptInsecureCerts":false,"timeouts":{"implicit":0,"page load":300000,"script":30000},"rotatable":false,"specificationLevel":0,"moz:processID":7064,"moz:profile":"C:\\Users\\Philip2\\AppData\\Local\\Temp\\rust_mozprofile.p6JdUEGqvC4f","moz:accessibilityChecks":false}
1492714790999   Marionette  TRACE   conn0 <- [1,1,null,{"sessionId":"51e87749-e551-4e6e-ad68-4031928561e5","capabilities":{"browserName":"firefox","browserVersion":"52.0.2","platformName":"windows_nt","platformVersion":"10.0","pageLoadStrategy":"normal","acceptInsecureCerts":false,"timeouts":{"implicit":0,"page load":300000,"script":30000},"rotatable":false,"specificationLevel":0,"moz:processID":7064,"moz:profile":"C:\\Users\\Philip2\\AppData\\Local\\Temp\\rust_mozprofile.p6JdUEGqvC4f","moz:accessibilityChecks":false}}]
1492714791006   geckodriver::marionette DEBUG   � [1,1,null,{"sessionId":"51e87749-e551-4e6e-ad68-4031928561e5","capabilities":{"browserName":"firefox","browserVersion":"52.0.2","platformName":"windows_nt","platformVersion":"10.0","pageLoadStrategy":"normal","acceptInsecureCerts":false,"timeouts":{"implicit":0,"page load":300000,"script":30000},"rotatable":false,"specificationLevel":0,"moz:processID":7064,"moz:profile":"C:\\Users\\Philip2\\AppData\\Local\\Temp\\rust_mozprofile.p6JdUEGqvC4f","moz:accessibilityChecks":false}}]
1492714791006   webdriver::server   DEBUG   Returning status Ok
1492714791006   webdriver::server   DEBUG   Returning body {"value": {"sessionId":"51e87749-e551-4e6e-ad68-4031928561e5","value":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"52.0.2","moz:accessibilityChecks":false,"moz:processID":7064,"moz:profile":"C:\\Users\\Philip2\\AppData\\Local\\Temp\\rust_mozprofile.p6JdUEGqvC4f","pageLoadStrategy":"normal","platformName":"windows_nt","platformVersion":"10.0","rotatable":false,"specificationLevel":0,"timeouts":{"implicit":0,"page load":300000,"script":30000}}}}
1492714791006   hyper::header   TRACE   Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1492714791007   hyper::header   TRACE   Headers.set( "Cache-Control", CacheControl([NoCache]) )
1492714791007   hyper::header   TRACE   Headers.set( "Content-Length", ContentLength(473) )
1492714791007   hyper::server::response DEBUG   writing head: Http11 Ok
1492714791007   hyper::header   TRACE   Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 51, tm_min: 59, tm_hour: 18, tm_mday: 20, tm_mon: 3, tm_year: 117, tm_wday: 4, tm_yday: 109, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 7058000 })) )
1492714791007   hyper::server::response DEBUG   headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 473
, Date: Thu, 20 Apr 2017 18:59:51 GMT
, }]
1492714791007   hyper::server::response DEBUG   write 473 bytes
1492714791007   hyper::server::response TRACE   ending
1492714791007   hyper::server   DEBUG   keep_alive = false for 127.0.0.1:49468
1492714791007   hyper::server   DEBUG   keep_alive loop ending for 127.0.0.1:49468
Apr 20, 2017 8:59:51 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFORMATION: Detected dialect: W3C
1492714791042   hyper::server   DEBUG   Incoming stream
1492714791042   hyper::buffer   TRACE   get_buf []
1492714791042   hyper::buffer   TRACE   read_into_buf buf[0..4096]
1492714791042   hyper::buffer   TRACE   get_buf [u8; 4096][0..318]
1492714791042   hyper::http::h1 TRACE   try_parse([80, 79, 83, 84, 32, 47, 115, 101, 115, 115, 105, 111, 110, 47, 53, 49, 101, 56, 55, 55, 52, 57, 45, 101, 53, 53, 49, 45, 52, 101, 54, 101, 45, 97, 100, 54, 56, 45, 52, 48, 51, 49, 57, 50, 56, 53, 54, 49, 101, 53, 47, 117, 114, 108, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 84, 121, 112, 101, 58, 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 32, 99, 104, 97, 114, 115, 101, 116, 61, 117, 116, 102, 45, 56, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 76, 101, 110, 103, 116, 104, 58, 32, 53, 50, 13, 10, 72, 111, 115, 116, 58, 32, 108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51, 13, 10, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 58, 32, 75, 101, 101, 112, 45, 65, 108, 105, 118, 101, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 65, 112, 97, 99, 104, 101, 45, 72, 116, 116, 112, 67, 108, 105, 101, 110, 116, 47, 52, 46, 53, 46, 50, 32, 40, 74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49, 41, 13, 10, 65, 99, 99, 101, 112, 116, 45, 69, 110, 99, 111, 100, 105, 110, 103, 58, 32, 103, 122, 105, 112, 44, 100, 101, 102, 108, 97, 116, 101, 13, 10, 13, 10, 123, 34, 117, 114, 108, 34, 58, 34, 104, 116, 116, 112, 58, 47, 47, 108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 57, 48, 47, 83, 105, 109, 112, 108, 101, 67, 108, 105, 99, 107, 69, 118, 101, 110, 116, 115, 46, 104, 116, 109, 108, 34, 125])
1492714791042   hyper::http::h1 TRACE   Request.try_parse([Header; 100], [u8; 318])
1492714791042   hyper::http::h1 TRACE   Request.try_parse Complete(266)
1492714791042   hyper::header   TRACE   raw header: "Content-Type"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 32, 99, 104, 97, 114, 115, 101, 116, 61, 117, 116, 102, 45, 56]
1492714791042   hyper::header   TRACE   raw header: "Content-Length"=[53, 50]
1492714791042   hyper::header   TRACE   raw header: "Host"=[108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51]
1492714791042   hyper::header   TRACE   raw header: "Connection"=[75, 101, 101, 112, 45, 65, 108, 105, 118, 101]
1492714791042   hyper::header   TRACE   raw header: "User-Agent"=[65, 112, 97, 99, 104, 101, 45, 72, 116, 116, 112, 67, 108, 105, 101, 110, 116, 47, 52, 46, 53, 46, 50, 32, 40, 74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49, 41]
1492714791042   hyper::header   TRACE   raw header: "Accept-Encoding"=[103, 122, 105, 112, 44, 100, 101, 102, 108, 97, 116, 101]
1492714791042   hyper::server::request  DEBUG   Request Line: Post AbsolutePath("/session/51e87749-e551-4e6e-ad68-4031928561e5/url") Http11
1492714791042   hyper::server::request  DEBUG   Headers { Content-Type: application/json; charset=utf-8
, Content-Length: 52
, Host: localhost:16543
, Connection: Keep-Alive
, User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_121)
, Accept-Encoding: gzip,deflate
, }
1492714791042   hyper::header   TRACE   Headers.set( "Connection", Connection([Close]) )
1492714791042   hyper::http::h1 TRACE   Sized read, remaining=52
1492714791042   hyper::http::h1 TRACE   Sized read: 32
1492714791042   hyper::http::h1 TRACE   Sized read, remaining=20
1492714791042   hyper::http::h1 TRACE   Sized read: 20
1492714791042   hyper::http::h1 TRACE   Sized read, remaining=0
1492714791042   webdriver::server   DEBUG   Got request POST AbsolutePath("/session/51e87749-e551-4e6e-ad68-4031928561e5/url")
1492714791043   webdriver::command  DEBUG   Got request body {"url":"http://localhost:90/SimpleClickEvents.html"}
1492714791043   geckodriver::marionette DEBUG   → 64:[0,2,"get",{"url":"http://localhost:90/SimpleClickEvents.html"}]
1492714791054   Marionette  TRACE   conn0 -> [0,2,"get",{"url":"http://localhost:90/SimpleClickEvents.html"}]
1492714791186   Marionette  TRACE   conn0 <- [1,2,null,{}]
1492714791188   geckodriver::marionette DEBUG   � [1,2,null,{}]
1492714791188   webdriver::server   DEBUG   Returning status Ok
1492714791188   webdriver::server   DEBUG   Returning body {"value": {}}
1492714791188   hyper::header   TRACE   Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1492714791188   hyper::header   TRACE   Headers.set( "Cache-Control", CacheControl([NoCache]) )
1492714791188   hyper::header   TRACE   Headers.set( "Content-Length", ContentLength(13) )
1492714791188   hyper::server::response DEBUG   writing head: Http11 Ok
1492714791188   hyper::header   TRACE   Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 51, tm_min: 59, tm_hour: 18, tm_mday: 20, tm_mon: 3, tm_year: 117, tm_wday: 4, tm_yday: 109, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 188127500 })) )
1492714791188   hyper::server::response DEBUG   headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 13
, Date: Thu, 20 Apr 2017 18:59:51 GMT
, }]
1492714791188   hyper::server::response DEBUG   write 13 bytes
1492714791188   hyper::server::response TRACE   ending
1492714791188   hyper::server   DEBUG   keep_alive = false for 127.0.0.1:49479
1492714791188   hyper::server   DEBUG   keep_alive loop ending for 127.0.0.1:49479
1492714791197   hyper::server   DEBUG   Incoming stream
1492714791197   hyper::buffer   TRACE   get_buf []
1492714791197   hyper::buffer   TRACE   read_into_buf buf[0..4096]
1492714791197   hyper::buffer   TRACE   get_buf [u8; 4096][0..315]
1492714791197   hyper::http::h1 TRACE   try_parse([80, 79, 83, 84, 32, 47, 115, 101, 115, 115, 105, 111, 110, 47, 53, 49, 101, 56, 55, 55, 52, 57, 45, 101, 53, 53, 49, 45, 52, 101, 54, 101, 45, 97, 100, 54, 56, 45, 52, 48, 51, 49, 57, 50, 56, 53, 54, 49, 101, 53, 47, 101, 108, 101, 109, 101, 110, 116, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 84, 121, 112, 101, 58, 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 32, 99, 104, 97, 114, 115, 101, 116, 61, 117, 116, 102, 45, 56, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 76, 101, 110, 103, 116, 104, 58, 32, 52, 53, 13, 10, 72, 111, 115, 116, 58, 32, 108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51, 13, 10, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 58, 32, 75, 101, 101, 112, 45, 65, 108, 105, 118, 101, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 65, 112, 97, 99, 104, 101, 45, 72, 116, 116, 112, 67, 108, 105, 101, 110, 116, 47, 52, 46, 53, 46, 50, 32, 40, 74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49, 41, 13, 10, 65, 99, 99, 101, 112, 116, 45, 69, 110, 99, 111, 100, 105, 110, 103, 58, 32, 103, 122, 105, 112, 44, 100, 101, 102, 108, 97, 116, 101, 13, 10, 13, 10, 123, 34, 118, 97, 108, 117, 101, 34, 58, 34, 35, 99, 108, 105, 99, 107, 65, 114, 101, 97, 34, 44, 34, 117, 115, 105, 110, 103, 34, 58, 34, 99, 115, 115, 32, 115, 101, 108, 101, 99, 116, 111, 114, 34, 125])
1492714791198   hyper::http::h1 TRACE   Request.try_parse([Header; 100], [u8; 315])
1492714791198   hyper::http::h1 TRACE   Request.try_parse Complete(270)
1492714791198   hyper::header   TRACE   raw header: "Content-Type"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 32, 99, 104, 97, 114, 115, 101, 116, 61, 117, 116, 102, 45, 56]
1492714791198   hyper::header   TRACE   raw header: "Content-Length"=[52, 53]
1492714791198   hyper::header   TRACE   raw header: "Host"=[108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51]
1492714791198   hyper::header   TRACE   raw header: "Connection"=[75, 101, 101, 112, 45, 65, 108, 105, 118, 101]
1492714791198   hyper::header   TRACE   raw header: "User-Agent"=[65, 112, 97, 99, 104, 101, 45, 72, 116, 116, 112, 67, 108, 105, 101, 110, 116, 47, 52, 46, 53, 46, 50, 32, 40, 74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49, 41]
1492714791198   hyper::header   TRACE   raw header: "Accept-Encoding"=[103, 122, 105, 112, 44, 100, 101, 102, 108, 97, 116, 101]
1492714791198   hyper::server::request  DEBUG   Request Line: Post AbsolutePath("/session/51e87749-e551-4e6e-ad68-4031928561e5/element") Http11
1492714791198   hyper::server::request  DEBUG   Headers { Content-Type: application/json; charset=utf-8
, Content-Length: 45
, Host: localhost:16543
, Connection: Keep-Alive
, User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_121)
, Accept-Encoding: gzip,deflate
, }
1492714791198   hyper::header   TRACE   Headers.set( "Connection", Connection([Close]) )
1492714791198   hyper::http::h1 TRACE   Sized read, remaining=45
1492714791198   hyper::http::h1 TRACE   Sized read: 32
1492714791198   hyper::http::h1 TRACE   Sized read, remaining=13
1492714791198   hyper::http::h1 TRACE   Sized read: 13
1492714791198   hyper::http::h1 TRACE   Sized read, remaining=0
1492714791198   webdriver::server   DEBUG   Got request POST AbsolutePath("/session/51e87749-e551-4e6e-ad68-4031928561e5/element")
1492714791198   webdriver::command  DEBUG   Got request body {"value":"#clickArea","using":"css selector"}
1492714791198   geckodriver::marionette DEBUG   → 65:[0,3,"findElement",{"using":"css selector","value":"#clickArea"}]
1492714791199   Marionette  TRACE   conn0 -> [0,3,"findElement",{"using":"css selector","value":"#clickArea"}]
1492714791205   Marionette  TRACE   conn0 <- [1,3,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"ab470564-6d59-40c3-ade4-982fb357d06c","ELEMENT":"ab470564-6d59-40c3-ade4-982fb357d06c"}}]
1492714791205   geckodriver::marionette DEBUG   � [1,3,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"ab470564-6d59-40c3-ade4-982fb357d06c","ELEMENT":"ab470564-6d59-40c3-ade4-982fb357d06c"}}]
1492714791205   webdriver::server   DEBUG   Returning status Ok
1492714791205   webdriver::server   DEBUG   Returning body {"value":{"element-6066-11e4-a52e-4f735466cecf":"ab470564-6d59-40c3-ade4-982fb357d06c"}}
1492714791205   hyper::header   TRACE   Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1492714791205   hyper::header   TRACE   Headers.set( "Cache-Control", CacheControl([NoCache]) )
1492714791205   hyper::header   TRACE   Headers.set( "Content-Length", ContentLength(88) )
1492714791205   hyper::server::response DEBUG   writing head: Http11 Ok
1492714791205   hyper::header   TRACE   Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 51, tm_min: 59, tm_hour: 18, tm_mday: 20, tm_mon: 3, tm_year: 117, tm_wday: 4, tm_yday: 109, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 205127700 })) )
1492714791205   hyper::server::response DEBUG   headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 88
, Date: Thu, 20 Apr 2017 18:59:51 GMT
, }]
1492714791205   hyper::server::response DEBUG   write 88 bytes
1492714791205   hyper::server::response TRACE   ending
1492714791205   hyper::server   DEBUG   keep_alive = false for 127.0.0.1:49483
1492714791205   hyper::server   DEBUG   keep_alive loop ending for 127.0.0.1:49483
1492714791220   hyper::server   DEBUG   Incoming stream
1492714791220   hyper::buffer   TRACE   get_buf []
1492714791220   hyper::buffer   TRACE   read_into_buf buf[0..4096]
1492714791220   hyper::buffer   TRACE   get_buf [u8; 4096][0..626]
1492714791220   hyper::http::h1 TRACE   try_parse([80, 79, 83, 84, 32, 47, 115, 101, 115, 115, 105, 111, 110, 47, 53, 49, 101, 56, 55, 55, 52, 57, 45, 101, 53, 53, 49, 45, 52, 101, 54, 101, 45, 97, 100, 54, 56, 45, 52, 48, 51, 49, 57, 50, 56, 53, 54, 49, 101, 53, 47, 97, 99, 116, 105, 111, 110, 115, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 84, 121, 112, 101, 58, 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 32, 99, 104, 97, 114, 115, 101, 116, 61, 117, 116, 102, 45, 56, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 76, 101, 110, 103, 116, 104, 58, 32, 51, 53, 53, 13, 10, 72, 111, 115, 116, 58, 32, 108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51, 13, 10, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 58, 32, 75, 101, 101, 112, 45, 65, 108, 105, 118, 101, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 65, 112, 97, 99, 104, 101, 45, 72, 116, 116, 112, 67, 108, 105, 101, 110, 116, 47, 52, 46, 53, 46, 50, 32, 40, 74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49, 41, 13, 10, 65, 99, 99, 101, 112, 116, 45, 69, 110, 99, 111, 100, 105, 110, 103, 58, 32, 103, 122, 105, 112, 44, 100, 101, 102, 108, 97, 116, 101, 13, 10, 13, 10, 123, 34, 97, 99, 116, 105, 111, 110, 115, 34, 58, 91, 123, 34, 105, 100, 34, 58, 34, 100, 101, 102, 97, 117, 108, 116, 32, 109, 111, 117, 115, 101, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 112, 111, 105, 110, 116, 101, 114, 34, 44, 34, 112, 97, 114, 97, 109, 101, 116, 101, 114, 115, 34, 58, 123, 34, 112, 111, 105, 110, 116, 101, 114, 84, 121, 112, 101, 34, 58, 34, 109, 111, 117, 115, 101, 34, 125, 44, 34, 97, 99, 116, 105, 111, 110, 115, 34, 58, 91, 123, 34, 100, 117, 114, 97, 116, 105, 111, 110, 34, 58, 49, 48, 48, 44, 34, 120, 34, 58, 48, 44, 34, 121, 34, 58, 48, 44, 34, 116, 121, 112, 101, 34, 58, 34, 112, 111, 105, 110, 116, 101, 114, 77, 111, 118, 101, 34, 44, 34, 111, 114, 105, 103, 105, 110, 34, 58, 123, 34, 69, 76, 69, 77, 69, 78, 84, 34, 58, 34, 97, 98, 52, 55, 48, 53, 54, 52, 45, 54, 100, 53, 57, 45, 52, 48, 99, 51, 45, 97, 100, 101, 52, 45, 57, 56, 50, 102, 98, 51, 53, 55, 100, 48, 54, 99, 34, 44, 34, 101, 108, 101, 109, 101, 110, 116, 45, 54, 48, 54, 54, 45, 49, 49, 101, 52, 45, 97, 53, 50, 101, 45, 52, 102, 55, 51, 53, 52, 54, 54, 99, 101, 99, 102, 34, 58, 34, 97, 98, 52, 55, 48, 53, 54, 52, 45, 54, 100, 53, 57, 45, 52, 48, 99, 51, 45, 97, 100, 101, 52, 45, 57, 56, 50, 102, 98, 51, 53, 55, 100, 48, 54, 99, 34, 125, 125, 44, 123, 34, 98, 117, 116, 116, 111, 110, 34, 58, 50, 44, 34, 116, 121, 112, 101, 34, 58, 34, 112, 111, 105, 110, 116, 101, 114, 68, 111, 119, 110, 34, 125, 44, 123, 34, 98, 117, 116, 116, 111, 110, 34, 58, 50, 44, 34, 116, 121, 112, 101, 34, 58, 34, 112, 111, 105, 110, 116, 101, 114, 85, 112, 34, 125, 93, 125, 93, 125])
1492714791220   hyper::http::h1 TRACE   Request.try_parse([Header; 100], [u8; 626])
1492714791220   hyper::http::h1 TRACE   Request.try_parse Complete(271)
1492714791220   hyper::header   TRACE   raw header: "Content-Type"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 32, 99, 104, 97, 114, 115, 101, 116, 61, 117, 116, 102, 45, 56]
1492714791220   hyper::header   TRACE   raw header: "Content-Length"=[51, 53, 53]
1492714791220   hyper::header   TRACE   raw header: "Host"=[108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51]
1492714791220   hyper::header   TRACE   raw header: "Connection"=[75, 101, 101, 112, 45, 65, 108, 105, 118, 101]
1492714791220   hyper::header   TRACE   raw header: "User-Agent"=[65, 112, 97, 99, 104, 101, 45, 72, 116, 116, 112, 67, 108, 105, 101, 110, 116, 47, 52, 46, 53, 46, 50, 32, 40, 74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49, 41]
1492714791220   hyper::header   TRACE   raw header: "Accept-Encoding"=[103, 122, 105, 112, 44, 100, 101, 102, 108, 97, 116, 101]
1492714791220   hyper::server::request  DEBUG   Request Line: Post AbsolutePath("/session/51e87749-e551-4e6e-ad68-4031928561e5/actions") Http11
1492714791220   hyper::server::request  DEBUG   Headers { Content-Type: application/json; charset=utf-8
, Content-Length: 355
, Host: localhost:16543
, Connection: Keep-Alive
, User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_121)
, Accept-Encoding: gzip,deflate
, }
1492714791220   hyper::header   TRACE   Headers.set( "Connection", Connection([Close]) )
1492714791220   hyper::http::h1 TRACE   Sized read, remaining=355
1492714791220   hyper::http::h1 TRACE   Sized read: 32
1492714791220   hyper::http::h1 TRACE   Sized read, remaining=323
1492714791220   hyper::http::h1 TRACE   Sized read: 64
1492714791221   hyper::http::h1 TRACE   Sized read, remaining=259
1492714791221   hyper::http::h1 TRACE   Sized read: 128
1492714791221   hyper::http::h1 TRACE   Sized read, remaining=131
1492714791221   hyper::http::h1 TRACE   Sized read: 131
1492714791221   hyper::http::h1 TRACE   Sized read, remaining=0
1492714791221   webdriver::server   DEBUG   Got request POST AbsolutePath("/session/51e87749-e551-4e6e-ad68-4031928561e5/actions")
1492714791221   webdriver::command  DEBUG   Got request body {"actions":[{"id":"default mouse","type":"pointer","parameters":{"pointerType":"mouse"},"actions":[{"duration":100,"x":0,"y":0,"type":"pointerMove","origin":{"ELEMENT":"ab470564-6d59-40c3-ade4-982fb357d06c","element-6066-11e4-a52e-4f735466cecf":"ab470564-6d59-40c3-ade4-982fb357d06c"}},{"button":2,"type":"pointerDown"},{"button":2,"type":"pointerUp"}]}]}
1492714791222   geckodriver::marionette DEBUG   → 329:[0,4,"performActions",{"actions":[{"actions":[{"duration":100,"origin":{"element-6066-11e4-a52e-4f735466cecf":"ab470564-6d59-40c3-ade4-982fb357d06c"},"type":"pointerMove","x":0,"y":0},{"button":2,"type":"pointerDown"},{"button":2,"type":"pointerUp"}],"id":"default mouse","parameters":{"pointerType":"mouse"},"type":"pointer"}]}]
1492714791223   Marionette  TRACE   conn0 -> [0,4,"performActions",{"actions":[{"actions":[{"duration":100,"origin":{"element-6066-11e4-a52e-4f735466cecf":"ab470564-6d59-40c3-ade4-982fb357d06c"},"type":"pointerMove","x":0,"y":0},{"button":2,"type":"pointerDown"},{"button":2,"type":"pointerUp"}],"id":"default mouse","parameters":{"pointerType":"mouse"},"type":"pointer"}]}]
1492714791380   Marionette  TRACE   conn0 <- [1,4,null,{}]
1492714791381   geckodriver::marionette DEBUG   � [1,4,null,{}]
1492714791381   webdriver::server   DEBUG   Returning status Ok
1492714791381   webdriver::server   DEBUG   Returning body {"value": {}}
1492714791381   hyper::header   TRACE   Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1492714791381   hyper::header   TRACE   Headers.set( "Cache-Control", CacheControl([NoCache]) )
1492714791381   hyper::header   TRACE   Headers.set( "Content-Length", ContentLength(13) )
1492714791381   hyper::server::response DEBUG   writing head: Http11 Ok
1492714791381   hyper::header   TRACE   Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 51, tm_min: 59, tm_hour: 18, tm_mday: 20, tm_mon: 3, tm_year: 117, tm_wday: 4, tm_yday: 109, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 381484500 })) )
1492714791381   hyper::server::response DEBUG   headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 13
, Date: Thu, 20 Apr 2017 18:59:51 GMT
, }]
1492714791381   hyper::server::response DEBUG   write 13 bytes
1492714791381   hyper::server::response TRACE   ending
1492714791381   hyper::server   DEBUG   keep_alive = false for 127.0.0.1:49484
1492714791381   hyper::server   DEBUG   keep_alive loop ending for 127.0.0.1:49484
1492714791386   hyper::server   DEBUG   Incoming stream
1492714791386   hyper::buffer   TRACE   get_buf []
1492714791386   hyper::buffer   TRACE   read_into_buf buf[0..4096]
1492714791386   hyper::buffer   TRACE   get_buf [u8; 4096][0..325]
1492714791386   hyper::http::h1 TRACE   try_parse([80, 79, 83, 84, 32, 47, 115, 101, 115, 115, 105, 111, 110, 47, 53, 49, 101, 56, 55, 55, 52, 57, 45, 101, 53, 53, 49, 45, 52, 101, 54, 101, 45, 97, 100, 54, 56, 45, 52, 48, 51, 49, 57, 50, 56, 53, 54, 49, 101, 53, 47, 101, 108, 101, 109, 101, 110, 116, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 84, 121, 112, 101, 58, 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 32, 99, 104, 97, 114, 115, 101, 116, 61, 117, 116, 102, 45, 56, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 76, 101, 110, 103, 116, 104, 58, 32, 53, 53, 13, 10, 72, 111, 115, 116, 58, 32, 108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51, 13, 10, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 58, 32, 75, 101, 101, 112, 45, 65, 108, 105, 118, 101, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 65, 112, 97, 99, 104, 101, 45, 72, 116, 116, 112, 67, 108, 105, 101, 110, 116, 47, 52, 46, 53, 46, 50, 32, 40, 74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49, 41, 13, 10, 65, 99, 99, 101, 112, 116, 45, 69, 110, 99, 111, 100, 105, 110, 103, 58, 32, 103, 122, 105, 112, 44, 100, 101, 102, 108, 97, 116, 101, 13, 10, 13, 10, 123, 34, 118, 97, 108, 117, 101, 34, 58, 34, 35, 114, 101, 115, 117, 108, 116, 79, 110, 67, 111, 110, 116, 101, 120, 116, 77, 101, 110, 117, 34, 44, 34, 117, 115, 105, 110, 103, 34, 58, 34, 99, 115, 115, 32, 115, 101, 108, 101, 99, 116, 111, 114, 34, 125])
1492714791386   hyper::http::h1 TRACE   Request.try_parse([Header; 100], [u8; 325])
1492714791386   hyper::http::h1 TRACE   Request.try_parse Complete(270)
1492714791386   hyper::header   TRACE   raw header: "Content-Type"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 32, 99, 104, 97, 114, 115, 101, 116, 61, 117, 116, 102, 45, 56]
1492714791386   hyper::header   TRACE   raw header: "Content-Length"=[53, 53]
1492714791386   hyper::header   TRACE   raw header: "Host"=[108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51]
1492714791386   hyper::header   TRACE   raw header: "Connection"=[75, 101, 101, 112, 45, 65, 108, 105, 118, 101]
1492714791386   hyper::header   TRACE   raw header: "User-Agent"=[65, 112, 97, 99, 104, 101, 45, 72, 116, 116, 112, 67, 108, 105, 101, 110, 116, 47, 52, 46, 53, 46, 50, 32, 40, 74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49, 41]
1492714791386   hyper::header   TRACE   raw header: "Accept-Encoding"=[103, 122, 105, 112, 44, 100, 101, 102, 108, 97, 116, 101]
1492714791386   hyper::server::request  DEBUG   Request Line: Post AbsolutePath("/session/51e87749-e551-4e6e-ad68-4031928561e5/element") Http11
1492714791386   hyper::server::request  DEBUG   Headers { Content-Type: application/json; charset=utf-8
, Content-Length: 55
, Host: localhost:16543
, Connection: Keep-Alive
, User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_121)
, Accept-Encoding: gzip,deflate
, }
1492714791386   hyper::header   TRACE   Headers.set( "Connection", Connection([Close]) )
1492714791386   hyper::http::h1 TRACE   Sized read, remaining=55
1492714791386   hyper::http::h1 TRACE   Sized read: 32
1492714791386   hyper::http::h1 TRACE   Sized read, remaining=23
1492714791386   hyper::http::h1 TRACE   Sized read: 23
1492714791386   hyper::http::h1 TRACE   Sized read, remaining=0
1492714791386   webdriver::server   DEBUG   Got request POST AbsolutePath("/session/51e87749-e551-4e6e-ad68-4031928561e5/element")
1492714791387   webdriver::command  DEBUG   Got request body {"value":"#resultOnContextMenu","using":"css selector"}
1492714791387   geckodriver::marionette1492714791389    Marionette  TRACE   conn0 -> [0,5,"findElement",{"using":"css selector","value":"#resultOnContextMenu"}]
    DEBUG   → 75:[0,5,"findElement",{"using":"css selector","value":"#resultOnContextMenu"}]
1492714791393   Marionette  TRACE   conn0 <- [1,5,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"5ebaa0c1-35b2-41f8-b899-8a8bb0a73d13","ELEMENT":"5ebaa0c1-35b2-41f8-b899-8a8bb0a73d13"}}]
1492714791394   geckodriver::marionette DEBUG   � [1,5,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"5ebaa0c1-35b2-41f8-b899-8a8bb0a73d13","ELEMENT":"5ebaa0c1-35b2-41f8-b899-8a8bb0a73d13"}}]
1492714791394   webdriver::server   DEBUG   Returning status Ok
1492714791394   webdriver::server   DEBUG   Returning body {"value":{"element-6066-11e4-a52e-4f735466cecf":"5ebaa0c1-35b2-41f8-b899-8a8bb0a73d13"}}
1492714791394   hyper::header   TRACE   Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1492714791394   hyper::header   TRACE   Headers.set( "Cache-Control", CacheControl([NoCache]) )
1492714791394   hyper::header   TRACE   Headers.set( "Content-Length", ContentLength(88) )
1492714791394   hyper::server::response DEBUG   writing head: Http11 Ok
1492714791394   hyper::header   TRACE   Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 51, tm_min: 59, tm_hour: 18, tm_mday: 20, tm_mon: 3, tm_year: 117, tm_wday: 4, tm_yday: 109, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 394484400 })) )
1492714791394   hyper::server::response DEBUG   headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 88
, Date: Thu, 20 Apr 2017 18:59:51 GMT
, }]
1492714791394   hyper::server::response DEBUG   write 88 bytes
1492714791394   hyper::server::response TRACE   ending
1492714791394   hyper::server   DEBUG   keep_alive = false for 127.0.0.1:49485
1492714791394   hyper::server   DEBUG   keep_alive loop ending for 127.0.0.1:49485
1492714791403   hyper::server   DEBUG   Incoming stream
1492714791403   hyper::buffer   TRACE   get_buf []
1492714791403   hyper::buffer   TRACE   read_into_buf buf[0..4096]
1492714791403   hyper::buffer   TRACE   get_buf [u8; 4096][0..269]
1492714791403   hyper::http::h1 TRACE   try_parse([71, 69, 84, 32, 47, 115, 101, 115, 115, 105, 111, 110, 47, 53, 49, 101, 56, 55, 55, 52, 57, 45, 101, 53, 53, 49, 45, 52, 101, 54, 101, 45, 97, 100, 54, 56, 45, 52, 48, 51, 49, 57, 50, 56, 53, 54, 49, 101, 53, 47, 101, 108, 101, 109, 101, 110, 116, 47, 53, 101, 98, 97, 97, 48, 99, 49, 45, 51, 53, 98, 50, 45, 52, 49, 102, 56, 45, 98, 56, 57, 57, 45, 56, 97, 56, 98, 98, 48, 97, 55, 51, 100, 49, 51, 47, 116, 101, 120, 116, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 67, 97, 99, 104, 101, 45, 67, 111, 110, 116, 114, 111, 108, 58, 32, 110, 111, 45, 99, 97, 99, 104, 101, 13, 10, 72, 111, 115, 116, 58, 32, 108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51, 13, 10, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 58, 32, 75, 101, 101, 112, 45, 65, 108, 105, 118, 101, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 65, 112, 97, 99, 104, 101, 45, 72, 116, 116, 112, 67, 108, 105, 101, 110, 116, 47, 52, 46, 53, 46, 50, 32, 40, 74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49, 41, 13, 10, 65, 99, 99, 101, 112, 116, 45, 69, 110, 99, 111, 100, 105, 110, 103, 58, 32, 103, 122, 105, 112, 44, 100, 101, 102, 108, 97, 116, 101, 13, 10, 13, 10])
1492714791404   hyper::http::h1 TRACE   Request.try_parse([Header; 100], [u8; 269])
1492714791404   hyper::http::h1 TRACE   Request.try_parse Complete(269)
1492714791404   hyper::header   TRACE   raw header: "Cache-Control"=[110, 111, 45, 99, 97, 99, 104, 101]
1492714791404   hyper::header   TRACE   raw header: "Host"=[108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51]
1492714791404   hyper::header   TRACE   raw header: "Connection"=[75, 101, 101, 112, 45, 65, 108, 105, 118, 101]
1492714791404   hyper::header   TRACE   raw header: "User-Agent"=[65, 112, 97, 99, 104, 101, 45, 72, 116, 116, 112, 67, 108, 105, 101, 110, 116, 47, 52, 46, 53, 46, 50, 32, 40, 74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49, 41]
1492714791404   hyper::header   TRACE   raw header: "Accept-Encoding"=[103, 122, 105, 112, 44, 100, 101, 102, 108, 97, 116, 101]
1492714791404   hyper::server::request  DEBUG   Request Line: Get AbsolutePath("/session/51e87749-e551-4e6e-ad68-4031928561e5/element/5ebaa0c1-35b2-41f8-b899-8a8bb0a73d13/text") Http11
1492714791404   hyper::server::request  DEBUG   Headers { Cache-Control: no-cache
, Host: localhost:16543
, Connection: Keep-Alive
, User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_121)
, Accept-Encoding: gzip,deflate
, }
1492714791404   hyper::header   TRACE   Headers.set( "Connection", Connection([Close]) )
1492714791404   webdriver::server   DEBUG   Got request GET AbsolutePath("/session/51e87749-e551-4e6e-ad68-4031928561e5/element/5ebaa0c1-35b2-41f8-b899-8a8bb0a73d13/text")
1492714791409   geckodriver::marionette DEBUG   → 68:[0,6,"getElementText",{"id":"5ebaa0c1-35b2-41f8-b899-8a8bb0a73d13"}]
1492714791415   Marionette  TRACE   conn0 -> [0,6,"getElementText",{"id":"5ebaa0c1-35b2-41f8-b899-8a8bb0a73d13"}]
1492714791450   Marionette  TRACE   conn0 <- [1,6,null,{"value":"NO"}]
1492714791451   geckodriver::marionette DEBUG   � [1,6,null,{"value":"NO"}]
1492714791451   webdriver::server   DEBUG   Returning status Ok
1492714791451   webdriver::server   DEBUG   Returning body {"value":"NO"}
1492714791451   hyper::header   TRACE   Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1492714791451   hyper::header   TRACE   Headers.set( "Cache-Control", CacheControl([NoCache]) )
1492714791451   hyper::header   TRACE   Headers.set( "Content-Length", ContentLength(14) )
1492714791451   hyper::server::response DEBUG   writing head: Http11 Ok
1492714791451   hyper::header   TRACE   Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 51, tm_min: 59, tm_hour: 18, tm_mday: 20, tm_mon: 3, tm_year: 117, tm_wday: 4, tm_yday: 109, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 451997300 })) )
1492714791452   hyper::server::response DEBUG   headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 14
, Date: Thu, 20 Apr 2017 18:59:51 GMT
, }]
1492714791452   hyper::server::response DEBUG   write 14 bytes
1492714791452   hyper::server::response TRACE   ending
1492714791452   hyper::server   DEBUG   keep_alive = false for 127.0.0.1:49486
1492714791452   hyper::server   DEBUG   keep_alive loop ending for 127.0.0.1:49486
1492714791454   hyper::server   DEBUG   Incoming stream
1492714791455   hyper::buffer   TRACE   get_buf []
1492714791455   hyper::buffer   TRACE   read_into_buf buf[0..4096]
1492714791455   hyper::buffer   TRACE   get_buf [u8; 4096][0..197]
1492714791455   hyper::http::h1 TRACE   try_parse([68, 69, 76, 69, 84, 69, 32, 47, 115, 101, 115, 115, 105, 111, 110, 47, 53, 49, 101, 56, 55, 55, 52, 57, 45, 101, 53, 53, 49, 45, 52, 101, 54, 101, 45, 97, 100, 54, 56, 45, 52, 48, 51, 49, 57, 50, 56, 53, 54, 49, 101, 53, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 72, 111, 115, 116, 58, 32, 108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51, 13, 10, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 58, 32, 75, 101, 101, 112, 45, 65, 108, 105, 118, 101, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 65, 112, 97, 99, 104, 101, 45, 72, 116, 116, 112, 67, 108, 105, 101, 110, 116, 47, 52, 46, 53, 46, 50, 32, 40, 74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49, 41, 13, 10, 65, 99, 99, 101, 112, 116, 45, 69, 110, 99, 111, 100, 105, 110, 103, 58, 32, 103, 122, 105, 112, 44, 100, 101, 102, 108, 97, 116, 101, 13, 10, 13, 10])
1492714791455   hyper::http::h1 TRACE   Request.try_parse([Header; 100], [u8; 197])
1492714791455   hyper::http::h1 TRACE   Request.try_parse Complete(197)
1492714791455   hyper::header   TRACE   raw header: "Host"=[108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51]
1492714791455   hyper::header   TRACE   raw header: "Connection"=[75, 101, 101, 112, 45, 65, 108, 105, 118, 101]
1492714791455   hyper::header   TRACE   raw header: "User-Agent"=[65, 112, 97, 99, 104, 101, 45, 72, 116, 116, 112, 67, 108, 105, 101, 110, 116, 47, 52, 46, 53, 46, 50, 32, 40, 74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49, 41]
1492714791455   hyper::header   TRACE   raw header: "Accept-Encoding"=[103, 122, 105, 112, 44, 100, 101, 102, 108, 97, 116, 101]
1492714791455   hyper::server::request  DEBUG   Request Line: Delete AbsolutePath("/session/51e87749-e551-4e6e-ad68-4031928561e5") Http11
1492714791455   hyper::server::request  DEBUG   Headers { Host: localhost:16543
, Connection: Keep-Alive
, User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_121)
, Accept-Encoding: gzip,deflate
, }
1492714791455   hyper::header   TRACE   Headers.set( "Connection", Connection([Close]) )
1492714791455   webdriver::server   DEBUG   Got request DELETE AbsolutePath("/session/51e87749-e551-4e6e-ad68-4031928561e5")
1492714791455   geckodriver::marionette DEBUG   → 48:[0,7,"quitApplication",{"flags":["eForceQuit"]}]
1492714791457   Marionette  TRACE   conn0 -> [0,7,"quitApplication",{"flags":["eForceQuit"]}]
1492714791458   Marionette  INFO    New connections will no longer be accepted
1492714791458   Marionette  TRACE   conn0 <- [1,7,null,{}]
1492714791459   geckodriver::marionette DEBUG   � [1,7,null,{}]
1492714791459   webdriver::server   DEBUG   Deleting session
1492714791459   geckodriver::marionette DEBUG   Stopping browser process
[Child 4084] ###!!! ABORT: Aborting on channel error.: file c:/builds/moz2_slave/m-rel-w32-00000000000000000000/build/src/ipc/glue/MessageChannel.cpp, line 2143
1492714791552   webdriver::server   DEBUG   Returning status Ok
1492714791553   webdriver::server   DEBUG   Returning body {"value": {}}
1492714791553   hyper::header   TRACE   Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1492714791553   hyper::header   TRACE   Headers.set( "Cache-Control", CacheControl([NoCache]) )
1492714791553   hyper::header   TRACE   Headers.set( "Content-Length", ContentLength(13) )
1492714791553   hyper::server::response DEBUG   writing head: Http11 Ok
1492714791553   hyper::header   TRACE   Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 51, tm_min: 59, tm_hour: 18, tm_mday: 20, tm_mon: 3, tm_year: 117, tm_wday: 4, tm_yday: 109, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 553013400 })) )
1492714791553   hyper::server::response DEBUG   headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 13
, Date: Thu, 20 Apr 2017 18:59:51 GMT
, }]
1492714791553   hyper::server::response DEBUG   write 13 bytes
1492714791553   hyper::server::response TRACE   ending
1492714791553   hyper::server   DEBUG   keep_alive = false for 127.0.0.1:49487
1492714791553   hyper::server   DEBUG   keep_alive loop ending for 127.0.0.1:49487
1492714791583   hyper::server   DEBUG   Incoming stream
1492714791583   hyper::buffer   TRACE   get_buf []
1492714791583   hyper::buffer   TRACE   read_into_buf buf[0..4096]
1492714791586   hyper::buffer   TRACE   get_buf [u8; 4096][0..163]
1492714791586   hyper::http::h1 TRACE   try_parse([71, 69, 84, 32, 47, 115, 104, 117, 116, 100, 111, 119, 110, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49, 13, 10, 72, 111, 115, 116, 58, 32, 108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51, 13, 10, 65, 99, 99, 101, 112, 116, 58, 32, 116, 101, 120, 116, 47, 104, 116, 109, 108, 44, 32, 105, 109, 97, 103, 101, 47, 103, 105, 102, 44, 32, 105, 109, 97, 103, 101, 47, 106, 112, 101, 103, 44, 32, 42, 59, 32, 113, 61, 46, 50, 44, 32, 42, 47, 42, 59, 32, 113, 61, 46, 50, 13, 10, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 58, 32, 107, 101, 101, 112, 45, 97, 108, 105, 118, 101, 13, 10, 13, 10])
1492714791586   hyper::http::h1 TRACE   Request.try_parse([Header; 100], [u8; 163])
1492714791586   hyper::http::h1 TRACE   Request.try_parse Complete(163)
1492714791586   hyper::header   TRACE   raw header: "User-Agent"=[74, 97, 118, 97, 47, 49, 46, 56, 46, 48, 95, 49, 50, 49]
1492714791586   hyper::header   TRACE   raw header: "Host"=[108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 49, 54, 53, 52, 51]
1492714791586   hyper::header   TRACE   raw header: "Accept"=[116, 101, 120, 116, 47, 104, 116, 109, 108, 44, 32, 105, 109, 97, 103, 101, 47, 103, 105, 102, 44, 32, 105, 109, 97, 103, 101, 47, 106, 112, 101, 103, 44, 32, 42, 59, 32, 113, 61, 46, 50, 44, 32, 42, 47, 42, 59, 32, 113, 61, 46, 50]
1492714791586   hyper::header   TRACE   raw header: "Connection"=[107, 101, 101, 112, 45, 97, 108, 105, 118, 101]
1492714791586   hyper::server::request  DEBUG   Request Line: Get AbsolutePath("/shutdown") Http11
1492714791586   hyper::server::request  DEBUG   Headers { User-Agent: Java/1.8.0_121
, Host: localhost:16543
, Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
, Connection: keep-alive
, }
1492714791586   hyper::header   TRACE   Headers.set( "Connection", Connection([Close]) )
1492714791586   webdriver::server   DEBUG   Got request GET AbsolutePath("/shutdown")
1492714791589   webdriver::server   DEBUG   Returning status NotFound
1492714791589   webdriver::server   DEBUG   Returning body {"value":{"error":"unknown command","message":"GET /shutdown did not match a known command","stacktrace":"stack backtrace:\n   0:   0x5ecb16 - <no info>\n   1:   0x428f24 - <no info>\n   2:   0x41e9ff - <no info>\n   3:   0x406151 - <no info>\n   4:   0x63c066 - <no info>\n   5:   0x410ad4 - <no info>\n   6:   0x637241 - <no info>\n   7: 0x755a62c4 - BaseThreadInitThunk\n   8: 0x77ad0fd9 - RtlSubscribeWnfStateChangeNotification"}}
1492714791589   hyper::header   TRACE   Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1492714791589   hyper::header   TRACE   Headers.set( "Cache-Control", CacheControl([NoCache]) )
1492714791589   hyper::header   TRACE   Headers.set( "Content-Length", ContentLength(434) )
1492714791589   hyper::server::response DEBUG   writing head: Http11 NotFound
1492714791589   hyper::header   TRACE   Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 51, tm_min: 59, tm_hour: 18, tm_mday: 20, tm_mon: 3, tm_year: 117, tm_wday: 4, tm_yday: 109, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 589013300 })) )
1492714791589   hyper::server::response DEBUG   headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 434
, Date: Thu, 20 Apr 2017 18:59:51 GMT
, }]
1492714791589   hyper::server::response DEBUG   write 434 bytes
1492714791589   hyper::server::response TRACE   ending
1492714791589   hyper::server   DEBUG   keep_alive = false for 127.0.0.1:49488
1492714791589   hyper::server   DEBUG   keep_alive loop ending for 127.0.0.1:49488
Apr 20, 2017 8:59:52 PM org.openqa.selenium.os.UnixProcess destroy
SCHWERWIEGEND: Unable to kill process with PID 12376
MatejQ commented 7 years ago

With FF 54.0.1 (32-bit) and geckodriver 0.18.0 and selenium 3.5.0, I am having the problem that ContextClick does not do anything. No error, no exception, only the context menu bound on right-click does not show. However, it shows in Chrome so my code is correct. Seeing this issue was reported in April and perhaps it's the same thing I encountered, I am writing here, please don't consider it as another "me-too" comment, there is information that it still doesn't work in most recent versions.

whimboo commented 7 years ago

This got recently fixed by bug 1370403 and is available in Firefox 57 Nightly builds now. Not sure yet if we might want to uplift this feature to 56.0 or not. @mjzffr could give more info on it.

codingphil commented 7 years ago

@whimboo

Not sure yet if we might want to uplift this feature to 56.0 or not.

I would vote for merging into 56.0! 👍

whimboo commented 7 years ago

Oh we uplifted it 8 days ago. So it should be already a part of the last two 56.0 beta releases.

codingphil commented 7 years ago

Cool! Overlooked that. Verified the fix in 56.0b5 (64-bit).

prabhurohith commented 7 years ago

@codingphil Can you please share the download link for the above version mentioned, I tried using the nightly edition(57.0a1) but couldn't see the context click happening

Updating the version

andreastt commented 7 years ago

@prabhurohith Firefox 47 is not Nightly, and also not supported by geckodriver.

codingphil commented 7 years ago

@andreastt @prabhurohith mentioned 57.0a1 (not 47).

I retested with 56.0b10 and 57.0a1 (2017-09-12) (64-Bit) and the unit test above passes.

codingphil commented 7 years ago

@prabhurohith Here you can download all old Firefox releases: https://ftp.mozilla.org/pub/firefox/releases/

prabhurohith commented 7 years ago

@codingphil Can you also share the code used for context click ,because when i m trying context click is not happening

Logs for context click and click

Context click logs

1505304690662 webdriver::server DEBUG -> POST /session/0cd983d4-1a30-4f0c-86af-9680078fed77/element {"value":".name_column","using":"css selector"} 1505304690663 geckodriver::marionette TRACE -> 68:[0,23,"findElement",{"using":"css selector","value":".name_column"}] 1505304690665 Marionette TRACE 0 -> [0,23,"findElement",{"using":"css selector","value":".name_column"}] 1505304690669 Marionette TRACE 0 <- [1,23,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"5e695349-cd87-4c16-a39e-3a3eba4dad69","ELEMENT":"5e695349-cd87-4c16-a39e-3a3eba4dad69"}}] 1505304690674 geckodriver::marionette TRACE <- [1,23,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"5e695349-cd87-4c16-a39e-3a3eba4dad69","ELEMENT":"5e695349-cd87-4c16-a39e-3a3eba4dad69"}}] 1505304690674 webdriver::server DEBUG <- 200 OK {"value":{"element-6066-11e4-a52e-4f735466cecf":"5e695349-cd87-4c16-a39e-3a3eba4dad69"}} 1505304690827 webdriver::server DEBUG -> POST /session/0cd983d4-1a30-4f0c-86af-9680078fed77/actions {"actions":[{"id":"default mouse","type":"pointer","parameters":{"pointerType":"mouse"},"actions":[{"duration":100,"x":0,"y":0,"type":"pointerMove","origin":{"ELEMENT":"5e695349-cd87-4c16-a39e-3a3eba4dad69","element-6066-11e4-a52e-4f735466cecf":"5e695349-cd87-4c16-a39e-3a3eba4dad69"}},{"button":2,"type":"pointerDown"},{"button":2,"type":"pointerUp"}]}]} 1505304690829 geckodriver::marionette TRACE -> 330:[0,24,"performActions",{"actions":[{"actions":[{"duration":100,"origin":{"element-6066-11e4-a52e-4f735466cecf":"5e695349-cd87-4c16-a39e-3a3eba4dad69"},"type":"pointerMove","x":0,"y":0},{"button":2,"type":"pointerDown"},{"button":2,"type":"pointerUp"}],"id":"default mouse","parameters":{"pointerType":"mouse"},"type":"pointer"}]}] 1505304690833 Marionette TRACE 0 -> [0,24,"performActions",{"actions":[{"actions":[{"duration":100,"origin":{"element-6066-11e4-a52e-4f735466cecf":"5e695349-cd87-4c16-a39e-3a3eba4dad69"},"type":"pointerMove","x":0,"y":0},{"button":2,"type":"pointerDown"},{"button":2,"type":"pointerUp"}],"id":"default mouse","parameters":{"pointerType":"mouse"},"type":"pointer"}]}] 1505304690979 Marionette TRACE 0 <- [1,24,null,{}] 1505304690985 geckodriver::marionette TRACE <- [1,24,null,{}] 1505304690985 webdriver::server DEBUG <- 200 OK {"value": {}}

Click Action logs below

1505304753354 webdriver::server DEBUG -> POST /session/0cd983d4-1a30-4f0c-86af-9680078fed77/element {"value":".name_column","using":"css selector"} 1505304753354 geckodriver::marionette TRACE -> 68:[0,25,"findElement",{"using":"css selector","value":".name_column"}] 1505304753356 Marionette TRACE 0 -> [0,25,"findElement",{"using":"css selector","value":".name_column"}] 1505304753361 Marionette TRACE 0 <- [1,25,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"5e695349-cd87-4c16-a39e-3a3eba4dad69","ELEMENT":"5e695349-cd87-4c16-a39e-3a3eba4dad69"}}] 1505304753365 geckodriver::marionette TRACE <- [1,25,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"5e695349-cd87-4c16-a39e-3a3eba4dad69","ELEMENT":"5e695349-cd87-4c16-a39e-3a3eba4dad69"}}] 1505304753365 webdriver::server DEBUG <- 200 OK {"value":{"element-6066-11e4-a52e-4f735466cecf":"5e695349-cd87-4c16-a39e-3a3eba4dad69"}} 1505304753513 webdriver::server DEBUG -> POST /session/0cd983d4-1a30-4f0c-86af-9680078fed77/actions {"actions":[{"id":"default mouse","type":"pointer","parameters":{"pointerType":"mouse"},"actions":[{"duration":100,"x":0,"y":0,"type":"pointerMove","origin":{"ELEMENT":"5e695349-cd87-4c16-a39e-3a3eba4dad69","element-6066-11e4-a52e-4f735466cecf":"5e695349-cd87-4c16-a39e-3a3eba4dad69"}},{"button":0,"type":"pointerDown"},{"button":0,"type":"pointerUp"}]}]} 1505304753514 geckodriver::marionette TRACE -> 330:[0,26,"performActions",{"actions":[{"actions":[{"duration":100,"origin":{"element-6066-11e4-a52e-4f735466cecf":"5e695349-cd87-4c16-a39e-3a3eba4dad69"},"type":"pointerMove","x":0,"y":0},{"button":0,"type":"pointerDown"},{"button":0,"type":"pointerUp"}],"id":"default mouse","parameters":{"pointerType":"mouse"},"type":"pointer"}]}] 1505304753516 Marionette TRACE 0 -> [0,26,"performActions",{"actions":[{"actions":[{"duration":100,"origin":{"element-6066-11e4-a52e-4f735466cecf":"5e695349-cd87-4c16-a39e-3a3eba4dad69"},"type":"pointerMove","x":0,"y":0},{"button":0,"type":"pointerDown"},{"button":0,"type":"pointerUp"}],"id":"default mouse","parameters":{"pointerType":"mouse"},"type":"pointer"}]}] 1505304753673 Marionette TRACE 0 <- [1,26,null,{}] 1505304753687 geckodriver::marionette TRACE <- [1,26,null,{}] 1505304753688 webdriver::server DEBUG <- 200 OK {"value": {}}

codingphil commented 7 years ago

@prabhurohith I just ran the code from the original issue entry in the section "Steps to reproduce" above.

codingphil commented 7 years ago

@prabhurohith btw: I'm using the current version of geckodriver: 0.18

prabhurohith commented 7 years ago

Thanks @codingphil I tied the same approach Actions actions = new Actions(driver); actions.contextClick(driver.findElement(By.id("atmn_listName"))).perform();

But still the context click doesn't happen FF ver:56.0b10 Gecko :0.18 Win OS 7,64 bit

Updated the ff version

andreastt commented 7 years ago

@prabhurohith Like I said, Firefox 46 is not supported.

codingphil commented 7 years ago

@prabhurohith Could you please provide a way to reproduce the issue like I did in the original issue entry?

Can you reproduce the issue with the code from my original issue entry above?

briangit2000 commented 7 years ago

Working on 56.0b8 (64-bit). Gecko 0.18 Thanks

Zap4ick commented 7 years ago

Working on 56.0b8 (64-bit). Gecko 0.18 Thanks

How does it work for you? What code do you use?

new Actions(driver).contextClick(findElement([...])).perform() doesn't work for me on 56.0, gecko 0.19 and selenium 3.6.0

whimboo commented 7 years ago

@Zap4ick you missed to give any details in what is not working for you. Please provide a trace level log for your failure.

Zap4ick commented 7 years ago

@whimboo

Sorry I've already updated to 57.0b5 and it works now without any code change. So I think it wasn't merged in final 56 version.

whimboo commented 7 years ago

It was as the following changeset shows: https://hg.mozilla.org/releases/mozilla-beta/rev/9c5b86d50b9b. But anyway, it seems to work now.

g-i-o-r-g-i-o commented 6 years ago

I have this problem on firefox 58 on linux, with the foxy gestures addon installed.

whimboo commented 6 years ago

@GianniGi please do not hi-jack closed issues. If there is a problem please raise it as a new issue and also add the trace level log, so that we could see what might gone wrong. Thanks.