Closed 3siski5u closed 6 years ago
For the record, Firefox 53 and 54 are not supported. But could you please attach a trace-level log from geckodriver? Read more about reporting actionable bugs in our contribution guidelines.
1521814205215 geckodriver INFO Listening on 127.0.0.1:56346 1521814208281 mozprofile::profile INFO Using profile path C:\Users###\AppData\Local\Temp\rust_mozprofile.ctGgt8qu9t2V 1521814208288 geckodriver::marionette INFO Starting browser C:\Program Files\Mozilla Firefox\firefox.exe with args [] 1521814208295 geckodriver::marionette INFO Connecting to Marionette on localhost:56357 Unable to read VR Path Registry from C:\Users###\AppData\Local\openvr\openvrpaths.vrpath 1521814209554 Marionette INFO Enabled via --marionette Unable to read VR Path Registry from C:\Users###\AppData\Local\openvr\openvrpaths.vrpath Unable to read VR Path Registry from C:\Users###\AppData\Local\openvr\openvrpaths.vrpath Unable to read VR Path Registry from C:\Users###\AppData\Local\openvr\openvrpaths.vrpath Unable to read VR Path Registry from C:\Users###\AppData\Local\openvr\openvrpaths.vrpath 1521814210846 Marionette INFO Listening on port 56357 [Parent 6376, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346 [Parent 6376, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346 JavaScript warning: https://cdn-aua.adverserve.net/234/963/728x90/js/BannerBuilder.js, line 1223: unreachable code after return statement
That is not a trace-level log. Please read the documentation.
1521817206469 geckodriver INFO Listening on 127.0.0.1:57146
1521817209538 mozprofile::profile INFO Using profile path C:\Users\altez\AppData\Local\Temp\rust_mozprofile.it883lqxQ3HC
1521817209555 geckodriver::marionette INFO Starting browser C:\Program Files\Mozilla Firefox\firefox.exe with args []
1521817209563 geckodriver::marionette INFO Connecting to Marionette on localhost:57154
1521817209894 Marionette DEBUG Received observer notification "profile-after-change"
Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath
1521817209982 Marionette DEBUG Received observer notification "command-line-startup"
1521817209982 Marionette INFO Enabled via --marionette
Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath
1521817210910 Marionette DEBUG Received observer notification "sessionstore-windows-restored"
Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath
1521817211074 Marionette DEBUG Setting recommended pref browser.safebrowsing.passwords.enabled to false
1521817211074 Marionette DEBUG Setting recommended pref toolkit.cosmeticAnimations.enabled to false
1521817211074 Marionette DEBUG Setting recommended pref browser.urlbar.suggest.searches to false
1521817211076 Marionette DEBUG Setting recommended pref browser.urlbar.userMadeSearchSuggestionsChoice to true
1521817211076 Marionette DEBUG Setting recommended pref datareporting.policy.dataSubmissionPolicyAccepted to false
1521817211076 Marionette DEBUG Setting recommended pref dom.file.createInChild to true
1521817211076 Marionette DEBUG Setting recommended pref extensions.shield-recipe-client.api_url to
1521817211076 Marionette DEBUG New connections are accepted
1521817211076 Marionette INFO Listening on port 57154
1521817211566 geckodriver::marionette DEBUG TCP connection established
1521817211568 Marionette DEBUG Accepted connection 0 from 127.0.0.1:57162
1521817211569 geckodriver::marionette DEBUG ← {"applicationType":"gecko","marionetteProtocol":3}
1521817211569 geckodriver::marionette DEBUG → 155:[0,1,"newSession",{"capabilities":{"desiredCapabilities":{"acceptInsecureCerts":true,"browserName":"firefox"},"requiredCapabilities":{}},"sessionId":null}]
1521817211570 Marionette TRACE 0 -> [0,1,"newSession",{"capabilities":{"desiredCapabilities":{"acceptInsecureCerts":true,"browserName":"firefox"},"requiredCapabilities":{}},"sessionId":null}]
1521817211620 Marionette DEBUG Register listener.js for window 4294967297
1521817211626 Marionette TRACE 0 <- [1,1,null,{"sessionId":"8b17a370-f076-45c9-b3c6-d19d3ae7b994","capabilities":{"browserName":"firefox","browserVersion":"59.0" ... AppData\\Local\\Temp\\rust_mozprofile.it883lqxQ3HC","moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
1521817211627 geckodriver::marionette DEBUG ← [1,1,null,{"sessionId":"8b17a370-f076-45c9-b3c6-d19d3ae7b994","capabilities":{"browserName":"firefox","browserVersion":"59.0","platformName":"windows_nt","platformVersion":"10.0","pageLoadStrategy":"normal","acceptInsecureCerts":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"rotatable":false,"moz:accessibilityChecks":false,"moz:headless":false,"moz:processID":11856,"moz:profile":"C:\\Users\\altez\\AppData\\Local\\Temp\\rust_mozprofile.it883lqxQ3HC","moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
1521817211628 webdriver::server DEBUG Returning status Ok
1521817211628 webdriver::server DEBUG Returning body {"value": {"sessionId":"8b17a370-f076-45c9-b3c6-d19d3ae7b994","value":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"59.0","moz:accessibilityChecks":false,"moz:headless":false,"moz:processID":11856,"moz:profile":"C:\\Users\\altez\\AppData\\Local\\Temp\\rust_mozprofile.it883lqxQ3HC","moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"pageLoadStrategy":"normal","platformName":"windows_nt","platformVersion":"10.0","rotatable":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000}}}}
1521817211628 hyper::header TRACE Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1521817211628 hyper::header TRACE Headers.set( "Cache-Control", CacheControl([NoCache]) )
1521817211628 hyper::header TRACE Headers.set( "Content-Length", ContentLength(538) )
1521817211628 hyper::server::response DEBUG writing head: Http11 Ok
1521817211628 hyper::header TRACE Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 11, tm_min: 0, tm_hour: 15, tm_mday: 23, tm_mon: 2, tm_year: 118, tm_wday: 5, tm_yday: 81, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 628500900 })) )
1521817211628 hyper::server::response DEBUG headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 538
, Date: Fri, 23 Mar 2018 15:00:11 GMT
, }]
1521817211628 hyper::server::response DEBUG write 538 bytes
1521817211628 hyper::server::response TRACE ending
1521817211628 hyper::server DEBUG keep_alive = false for 127.0.0.1:57153
1521817211629 hyper::server DEBUG keep_alive loop ending for 127.0.0.1:57153
1521817211636 Marionette DEBUG Closed connection 0
It doesn’t look to me like you are using geckodriver 0.20.0. Since you’ve cut off the top of the log that contains the geckodriver version number I would guess you’re on 0.16.x?
Also the log doesn’t contain the call from send_keys
.
my code is:
from selenium.webdriver import Firefox from selenium.webdriver.firefox.options import Options
opts = Options()
opts.log.level = "trace"
driver = Firefox(firefox_options=opts)
start_page = "http://www.yahoo.com"
spell = "ah-RAHN-ee-a EKS-su-may"
driver.get(start_page)
search = driver.find_element_by_id("uh-search-box")
search.send_keys(spell)
my gecodriver log:
1521818031127 geckodriver INFO Listening on 127.0.0.1:57491
1521818034210 mozprofile::profile INFO Using profile path C:\Users\altez\AppData\Local\Temp\rust_mozprofile.iVVJXD8nlVaz
1521818034225 geckodriver::marionette INFO Starting browser C:\Program Files\Mozilla Firefox\firefox.exe with args []
1521818034232 geckodriver::marionette INFO Connecting to Marionette on localhost:57499
1521818034552 Marionette DEBUG Received observer notification "profile-after-change"
1521818036234 geckodriver::marionette DEBUG connection attempt 0/600
Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath
1521818037622 Marionette DEBUG Received observer notification "command-line-startup"
1521818037622 Marionette INFO Enabled via --marionette
Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath
1521818038336 geckodriver::marionette DEBUG connection attempt 1/600
1521818038542 Marionette DEBUG Received observer notification "sessionstore-windows-restored"
Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath
1521818038702 Marionette DEBUG Setting recommended pref browser.safebrowsing.passwords.enabled to false
1521818038702 Marionette DEBUG Setting recommended pref toolkit.cosmeticAnimations.enabled to false
1521818038702 Marionette DEBUG Setting recommended pref browser.urlbar.suggest.searches to false
1521818038702 Marionette DEBUG Setting recommended pref browser.urlbar.userMadeSearchSuggestionsChoice to true
1521818038702 Marionette DEBUG Setting recommended pref datareporting.policy.dataSubmissionPolicyAccepted to false
1521818038704 Marionette DEBUG Setting recommended pref dom.file.createInChild to true
1521818038704 Marionette DEBUG Setting recommended pref extensions.shield-recipe-client.api_url to
1521818038704 Marionette DEBUG New connections are accepted
1521818038704 Marionette INFO Listening on port 57499
1521818039438 geckodriver::marionette DEBUG TCP connection established
1521818039440 Marionette DEBUG Accepted connection 0 from 127.0.0.1:57521
1521818039440 geckodriver::marionette DEBUG ← {"applicationType":"gecko","marionetteProtocol":3}
1521818039440 geckodriver::marionette DEBUG → 155:[0,1,"newSession",{"capabilities":{"desiredCapabilities":{"acceptInsecureCerts":true,"browserName":"firefox"},"requiredCapabilities":{}},"sessionId":null}]
1521818039442 Marionette TRACE 0 -> [0,1,"newSession",{"capabilities":{"desiredCapabilities":{"acceptInsecureCerts":true,"browserName":"firefox"},"requiredCapabilities":{}},"sessionId":null}]
1521818039484 Marionette DEBUG Register listener.js for window 4294967297
1521818039490 Marionette TRACE 0 <- [1,1,null,{"sessionId":"7157c246-2f80-4d56-bca9-16caf415015d","capabilities":{"browserName":"firefox","browserVersion":"59.0" ... AppData\Local\Temp\rust_mozprofile.iVVJXD8nlVaz","moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
1521818039492 geckodriver::marionette DEBUG ← [1,1,null,{"sessionId":"7157c246-2f80-4d56-bca9-16caf415015d","capabilities":{"browserName":"firefox","browserVersion":"59.0","platformName":"windows_nt","platformVersion":"10.0","pageLoadStrategy":"normal","acceptInsecureCerts":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"rotatable":false,"moz:accessibilityChecks":false,"moz:headless":false,"moz:processID":1556,"moz:profile":"C:\Users\altez\AppData\Local\Temp\rust_mozprofile.iVVJXD8nlVaz","moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
1521818039492 webdriver::server DEBUG Returning status Ok
1521818039492 webdriver::server DEBUG Returning body {"value": {"sessionId":"7157c246-2f80-4d56-bca9-16caf415015d","value":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"59.0","moz:accessibilityChecks":false,"moz:headless":false,"moz:processID":1556,"moz:profile":"C:\Users\altez\AppData\Local\Temp\rust_mozprofile.iVVJXD8nlVaz","moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"pageLoadStrategy":"normal","platformName":"windows_nt","platformVersion":"10.0","rotatable":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000}}}}
1521818039492 hyper::header TRACE Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1521818039493 hyper::header TRACE Headers.set( "Cache-Control", CacheControl([NoCache]) )
1521818039493 hyper::header TRACE Headers.set( "Content-Length", ContentLength(537) )
1521818039493 hyper::server::response DEBUG writing head: Http11 Ok
1521818039493 hyper::header TRACE Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 59, tm_min: 13, tm_hour: 15, tm_mday: 23, tm_mon: 2, tm_year: 118, tm_wday: 5, tm_yday: 81, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 493456200 })) )
1521818039493 hyper::server::response DEBUG headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 537
, Date: Fri, 23 Mar 2018 15:13:59 GMT
, }]
1521818039493 hyper::server::response DEBUG write 537 bytes
1521818039493 hyper::server::response TRACE ending
1521818039493 hyper::server DEBUG keep_alive = false for 127.0.0.1:57498
1521818039493 hyper::server DEBUG keep_alive loop ending for 127.0.0.1:57498
1521818039494 hyper::server DEBUG Incoming stream
1521818039494 hyper::buffer TRACE get_buf []
1521818039494 hyper::buffer TRACE read_into_buf buf[0..4096]
1521818039494 hyper::buffer TRACE get_buf [u8; 4096][0..294]
1521818039494 hyper::http::h1 TRACE try_parse([80, 79, 83, 84, 32, 47, 115, 101, 115, 115, 105, 111, 110, 47, 55, 49, 53, 55, 99, 50, 52, 54, 45, 50, 102, 56, 48, 45, 52, 100, 53, 54, 45, 98, 99, 97, 57, 45, 49, 54, 99, 97, 102, 52, 49, 53, 48, 49, 53, 100, 47, 117, 114, 108, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 72, 111, 115, 116, 58, 32, 49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 53, 55, 52, 57, 49, 13, 10, 65, 99, 99, 101, 112, 116, 45, 69, 110, 99, 111, 100, 105, 110, 103, 58, 32, 105, 100, 101, 110, 116, 105, 116, 121, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 76, 101, 110, 103, 116, 104, 58, 32, 51, 49, 13, 10, 65, 99, 99, 101, 112, 116, 58, 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 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, 99, 104, 97, 114, 115, 101, 116, 61, 85, 84, 70, 45, 56, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 80, 121, 116, 104, 111, 110, 32, 104, 116, 116, 112, 32, 97, 117, 116, 104, 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, 123, 34, 117, 114, 108, 34, 58, 32, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 121, 97, 104, 111, 111, 46, 99, 111, 109, 34, 125])
1521818039494 hyper::http::h1 TRACE Request.try_parse([Header; 100], [u8; 294])
1521818039494 hyper::http::h1 TRACE Request.try_parse Complete(263)
1521818039494 hyper::header TRACE raw header: "Host"=[49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 53, 55, 52, 57, 49]
1521818039494 hyper::header TRACE raw header: "Accept-Encoding"=[105, 100, 101, 110, 116, 105, 116, 121]
1521818039494 hyper::header TRACE raw header: "Content-Length"=[51, 49]
1521818039494 hyper::header TRACE raw header: "Accept"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110]
1521818039494 hyper::header TRACE raw header: "Content-Type"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 99, 104, 97, 114, 115, 101, 116, 61, 85, 84, 70, 45, 56]
1521818039494 hyper::header TRACE raw header: "User-Agent"=[80, 121, 116, 104, 111, 110, 32, 104, 116, 116, 112, 32, 97, 117, 116, 104]
1521818039494 hyper::header TRACE raw header: "Connection"=[107, 101, 101, 112, 45, 97, 108, 105, 118, 101]
1521818039494 hyper::server::request DEBUG Request Line: Post AbsolutePath("/session/7157c246-2f80-4d56-bca9-16caf415015d/url") Http11
1521818039494 hyper::server::request DEBUG Headers { Host: 127.0.0.1:57491
, Accept-Encoding: identity
, Content-Length: 31
, Accept: application/json
, Content-Type: application/json;charset=UTF-8
, User-Agent: Python http auth
, Connection: keep-alive
, }
1521818039494 hyper::header TRACE Headers.set( "Connection", Connection([Close]) )
1521818039494 hyper::http::h1 TRACE Sized read, remaining=31
1521818039494 hyper::http::h1 TRACE Sized read: 31
1521818039494 hyper::http::h1 TRACE Sized read, remaining=0
1521818039494 webdriver::server DEBUG Got request POST AbsolutePath("/session/7157c246-2f80-4d56-bca9-16caf415015d/url")
1521818039495 webdriver::command DEBUG Got request body {"url": "http://www.yahoo.com"}
1521818039495 geckodriver::marionette DEBUG → 42:[0,2,"get",{"url":"http://www.yahoo.com"}]
1521818039496 Marionette TRACE 0 -> [0,2,"get",{"url":"http://www.yahoo.com"}]
1521818039500 Marionette DEBUG Received DOM event beforeunload for about:blank
1521818040080 Marionette DEBUG Received DOM event pagehide for about:blank
1521818043262 Marionette DEBUG Received DOM event DOMContentLoaded for https://www.yahoo.com/
1521818044890 Marionette DEBUG Received DOM event pageshow for https://www.yahoo.com/
1521818044890 Marionette TRACE 0 <- [1,2,null,{}]
1521818044891 geckodriver::marionette DEBUG ← [1,2,null,{}]
1521818044891 webdriver::server DEBUG Returning status Ok
1521818044891 webdriver::server DEBUG Returning body {"value": {}}
1521818044891 hyper::header TRACE Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1521818044891 hyper::header TRACE Headers.set( "Cache-Control", CacheControl([NoCache]) )
1521818044891 hyper::header TRACE Headers.set( "Content-Length", ContentLength(13) )
1521818044891 hyper::server::response DEBUG writing head: Http11 Ok
1521818044891 hyper::header TRACE Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 4, tm_min: 14, tm_hour: 15, tm_mday: 23, tm_mon: 2, tm_year: 118, tm_wday: 5, tm_yday: 81, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 891643100 })) )
1521818044891 hyper::server::response DEBUG headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 13
, Date: Fri, 23 Mar 2018 15:14:04 GMT
, }]
1521818044891 hyper::server::response DEBUG write 13 bytes
1521818044891 hyper::server::response TRACE ending
1521818044892 hyper::server DEBUG keep_alive = false for 127.0.0.1:57522
1521818044892 hyper::server DEBUG keep_alive loop ending for 127.0.0.1:57522
1521818044893 hyper::server DEBUG Incoming stream
1521818044893 hyper::buffer TRACE get_buf []
1521818044893 hyper::buffer TRACE read_into_buf buf[0..4096]
1521818044893 hyper::buffer TRACE get_buf [u8; 4096][0..327]
1521818044893 hyper::http::h1 TRACE try_parse([80, 79, 83, 84, 32, 47, 115, 101, 115, 115, 105, 111, 110, 47, 55, 49, 53, 55, 99, 50, 52, 54, 45, 50, 102, 56, 48, 45, 52, 100, 53, 54, 45, 98, 99, 97, 57, 45, 49, 54, 99, 97, 102, 52, 49, 53, 48, 49, 53, 100, 47, 101, 108, 101, 109, 101, 110, 116, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 72, 111, 115, 116, 58, 32, 49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 53, 55, 52, 57, 49, 13, 10, 65, 99, 99, 101, 112, 116, 45, 69, 110, 99, 111, 100, 105, 110, 103, 58, 32, 105, 100, 101, 110, 116, 105, 116, 121, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 76, 101, 110, 103, 116, 104, 58, 32, 54, 48, 13, 10, 65, 99, 99, 101, 112, 116, 58, 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 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, 99, 104, 97, 114, 115, 101, 116, 61, 85, 84, 70, 45, 56, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 80, 121, 116, 104, 111, 110, 32, 104, 116, 116, 112, 32, 97, 117, 116, 104, 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, 123, 34, 117, 115, 105, 110, 103, 34, 58, 32, 34, 99, 115, 115, 32, 115, 101, 108, 101, 99, 116, 111, 114, 34, 44, 32, 34, 118, 97, 108, 117, 101, 34, 58, 32, 34, 91, 105, 100, 61, 92, 34, 117, 104, 45, 115, 101, 97, 114, 99, 104, 45, 98, 111, 120, 92, 34, 93, 34, 125])
1521818044893 hyper::http::h1 TRACE Request.try_parse([Header; 100], [u8; 327])
1521818044893 hyper::http::h1 TRACE Request.try_parse Complete(267)
1521818044893 hyper::header TRACE raw header: "Host"=[49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 53, 55, 52, 57, 49]
1521818044893 hyper::header TRACE raw header: "Accept-Encoding"=[105, 100, 101, 110, 116, 105, 116, 121]
1521818044893 hyper::header TRACE raw header: "Content-Length"=[54, 48]
1521818044893 hyper::header TRACE raw header: "Accept"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110]
1521818044893 hyper::header TRACE raw header: "Content-Type"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 99, 104, 97, 114, 115, 101, 116, 61, 85, 84, 70, 45, 56]
1521818044893 hyper::header TRACE raw header: "User-Agent"=[80, 121, 116, 104, 111, 110, 32, 104, 116, 116, 112, 32, 97, 117, 116, 104]
1521818044893 hyper::header TRACE raw header: "Connection"=[107, 101, 101, 112, 45, 97, 108, 105, 118, 101]
1521818044893 hyper::server::request DEBUG Request Line: Post AbsolutePath("/session/7157c246-2f80-4d56-bca9-16caf415015d/element") Http11
1521818044893 hyper::server::request DEBUG Headers { Host: 127.0.0.1:57491
, Accept-Encoding: identity
, Content-Length: 60
, Accept: application/json
, Content-Type: application/json;charset=UTF-8
, User-Agent: Python http auth
, Connection: keep-alive
, }
1521818044893 hyper::header TRACE Headers.set( "Connection", Connection([Close]) )
1521818044893 hyper::http::h1 TRACE Sized read, remaining=60
1521818044893 hyper::http::h1 TRACE Sized read: 32
1521818044893 hyper::http::h1 TRACE Sized read, remaining=28
1521818044893 hyper::http::h1 TRACE Sized read: 28
1521818044893 hyper::http::h1 TRACE Sized read, remaining=0
1521818044893 webdriver::server DEBUG Got request POST AbsolutePath("/session/7157c246-2f80-4d56-bca9-16caf415015d/element")
1521818044894 webdriver::command DEBUG Got request body {"using": "css selector", "value": "[id=\"uh-search-box\"]"}
1521818044894 geckodriver::marionette DEBUG → 77:[0,3,"findElement",{"using":"css selector","value":"[id=\"uh-search-box\"]"}]
1521818044894 Marionette TRACE 0 -> [0,3,"findElement",{"using":"css selector","value":"[id=\"uh-search-box\"]"}]
1521818044910 Marionette TRACE 0 <- [1,3,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"a3019219-69e1-433c-988e-9ac63ff3924e","ELEMENT":"a3019219-69e1-433c-988e-9ac63ff3924e"}}]
1521818044911 geckodriver::marionette DEBUG ← [1,3,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"a3019219-69e1-433c-988e-9ac63ff3924e","ELEMENT":"a3019219-69e1-433c-988e-9ac63ff3924e"}}]
1521818044911 webdriver::server DEBUG Returning status Ok
1521818044911 webdriver::server DEBUG Returning body {"value":{"element-6066-11e4-a52e-4f735466cecf":"a3019219-69e1-433c-988e-9ac63ff3924e"}}
1521818044911 hyper::header TRACE Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1521818044911 hyper::header TRACE Headers.set( "Cache-Control", CacheControl([NoCache]) )
1521818044911 hyper::header TRACE Headers.set( "Content-Length", ContentLength(88) )
1521818044911 hyper::server::response DEBUG writing head: Http11 Ok
1521818044911 hyper::header TRACE Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 4, tm_min: 14, tm_hour: 15, tm_mday: 23, tm_mon: 2, tm_year: 118, tm_wday: 5, tm_yday: 81, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 911195100 })) )
1521818044911 hyper::server::response DEBUG headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 88
, Date: Fri, 23 Mar 2018 15:14:04 GMT
, }]
1521818044911 hyper::server::response DEBUG write 88 bytes
1521818044911 hyper::server::response TRACE ending
1521818044911 hyper::server DEBUG keep_alive = false for 127.0.0.1:57603
1521818044911 hyper::server DEBUG keep_alive loop ending for 127.0.0.1:57603
1521818044913 hyper::server DEBUG Incoming stream
1521818044913 hyper::buffer TRACE get_buf []
1521818044913 hyper::buffer TRACE read_into_buf buf[0..4096]
1521818044913 hyper::buffer TRACE get_buf [u8; 4096][0..518]
1521818044913 hyper::http::h1 TRACE try_parse([80, 79, 83, 84, 32, 47, 115, 101, 115, 115, 105, 111, 110, 47, 55, 49, 53, 55, 99, 50, 52, 54, 45, 50, 102, 56, 48, 45, 52, 100, 53, 54, 45, 98, 99, 97, 57, 45, 49, 54, 99, 97, 102, 52, 49, 53, 48, 49, 53, 100, 47, 101, 108, 101, 109, 101, 110, 116, 47, 97, 51, 48, 49, 57, 50, 49, 57, 45, 54, 57, 101, 49, 45, 52, 51, 51, 99, 45, 57, 56, 56, 101, 45, 57, 97, 99, 54, 51, 102, 102, 51, 57, 50, 52, 101, 47, 118, 97, 108, 117, 101, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 72, 111, 115, 116, 58, 32, 49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 53, 55, 52, 57, 49, 13, 10, 65, 99, 99, 101, 112, 116, 45, 69, 110, 99, 111, 100, 105, 110, 103, 58, 32, 105, 100, 101, 110, 116, 105, 116, 121, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 76, 101, 110, 103, 116, 104, 58, 32, 50, 48, 55, 13, 10, 65, 99, 99, 101, 112, 116, 58, 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 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, 99, 104, 97, 114, 115, 101, 116, 61, 85, 84, 70, 45, 56, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 80, 121, 116, 104, 111, 110, 32, 104, 116, 116, 112, 32, 97, 117, 116, 104, 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, 123, 34, 116, 101, 120, 116, 34, 58, 32, 34, 97, 104, 45, 82, 65, 72, 78, 45, 101, 101, 45, 97, 32, 69, 75, 83, 45, 115, 117, 45, 109, 97, 121, 34, 44, 32, 34, 118, 97, 108, 117, 101, 34, 58, 32, 91, 34, 97, 34, 44, 32, 34, 104, 34, 44, 32, 34, 45, 34, 44, 32, 34, 82, 34, 44, 32, 34, 65, 34, 44, 32, 34, 72, 34, 44, 32, 34, 78, 34, 44, 32, 34, 45, 34, 44, 32, 34, 101, 34, 44, 32, 34, 101, 34, 44, 32, 34, 45, 34, 44, 32, 34, 97, 34, 44, 32, 34, 32, 34, 44, 32, 34, 69, 34, 44, 32, 34, 75, 34, 44, 32, 34, 83, 34, 44, 32, 34, 45, 34, 44, 32, 34, 115, 34, 44, 32, 34, 117, 34, 44, 32, 34, 45, 34, 44, 32, 34, 109, 34, 44, 32, 34, 97, 34, 44, 32, 34, 121, 34, 93, 44, 32, 34, 105, 100, 34, 58, 32, 34, 97, 51, 48, 49, 57, 50, 49, 57, 45, 54, 57, 101, 49, 45, 52, 51, 51, 99, 45, 57, 56, 56, 101, 45, 57, 97, 99, 54, 51, 102, 102, 51, 57, 50, 52, 101, 34, 125])
1521818044913 hyper::http::h1 TRACE Request.try_parse([Header; 100], [u8; 518])
1521818044913 hyper::http::h1 TRACE Request.try_parse Complete(311)
1521818044913 hyper::header TRACE raw header: "Host"=[49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 53, 55, 52, 57, 49]
1521818044913 hyper::header TRACE raw header: "Accept-Encoding"=[105, 100, 101, 110, 116, 105, 116, 121]
1521818044913 hyper::header TRACE raw header: "Content-Length"=[50, 48, 55]
1521818044913 hyper::header TRACE raw header: "Accept"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110]
1521818044913 hyper::header TRACE raw header: "Content-Type"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 99, 104, 97, 114, 115, 101, 116, 61, 85, 84, 70, 45, 56]
1521818044913 hyper::header TRACE raw header: "User-Agent"=[80, 121, 116, 104, 111, 110, 32, 104, 116, 116, 112, 32, 97, 117, 116, 104]
1521818044913 hyper::header TRACE raw header: "Connection"=[107, 101, 101, 112, 45, 97, 108, 105, 118, 101]
1521818044913 hyper::server::request DEBUG Request Line: Post AbsolutePath("/session/7157c246-2f80-4d56-bca9-16caf415015d/element/a3019219-69e1-433c-988e-9ac63ff3924e/value") Http11
1521818044913 hyper::server::request DEBUG Headers { Host: 127.0.0.1:57491
, Accept-Encoding: identity
, Content-Length: 207
, Accept: application/json
, Content-Type: application/json;charset=UTF-8
, User-Agent: Python http auth
, Connection: keep-alive
, }
1521818044913 hyper::header TRACE Headers.set( "Connection", Connection([Close]) )
1521818044913 hyper::http::h1 TRACE Sized read, remaining=207
1521818044913 hyper::http::h1 TRACE Sized read: 32
1521818044913 hyper::http::h1 TRACE Sized read, remaining=175
1521818044913 hyper::http::h1 TRACE Sized read: 64
1521818044913 hyper::http::h1 TRACE Sized read, remaining=111
1521818044913 hyper::http::h1 TRACE Sized read: 111
1521818044913 hyper::http::h1 TRACE Sized read, remaining=0
1521818044913 webdriver::server DEBUG Got request POST AbsolutePath("/session/7157c246-2f80-4d56-bca9-16caf415015d/element/a3019219-69e1-433c-988e-9ac63ff3924e/value")
1521818044915 webdriver::command DEBUG Got request body {"text": "ah-RAHN-ee-a EKS-su-may", "value": ["a", "h", "-", "R", "A", "H", "N", "-", "e", "e", "-", "a", " ", "E", "K", "S", "-", "s", "u", "-", "m", "a", "y"], "id": "a3019219-69e1-433c-988e-9ac63ff3924e"}
1521818044915 geckodriver::marionette DEBUG → 173:[0,4,"sendKeysToElement",{"id":"a3019219-69e1-433c-988e-9ac63ff3924e","value":["a","h","-","R","A","H","N","-","e","e","-","a"," ","E","K","S","-","s","u","-","m","a","y"]}]
1521818044916 Marionette TRACE 0 -> [0,4,"sendKeysToElement",{"id":"a3019219-69e1-433c-988e-9ac63ff3924e","value":["a","h","-","R","A","H","N","-","e","e","-","a"," ","E","K","S","-","s","u","-","m","a","y"]}]
1521818044916 Marionette TRACE 0 <- [1,4,{"error":"invalid argument","message":"Expected [object Undefined] undefined to be a string","stacktrace":"WebDriverErro ... et@chrome://marionette/content/server.js:505:8\n_onJSONObjectReady/<@chrome://marionette/content/transport.js:500:9\n"},null]
1521818044917 geckodriver::marionette DEBUG ← [1,4,{"error":"invalid argument","message":"Expected [object Undefined] undefined to be a string","stacktrace":"WebDriverError@chrome://marionette/content/error.js:172:5\nInvalidArgumentError@chrome://marionette/content/error.js:299:5\nassert.that/<@chrome://marionette/content/assert.js:407:13\nassert.string@chrome://marionette/content/assert.js:316:10\nGeckoDriver.prototype.sendKeysToElement@chrome://marionette/content/driver.js:2512:14\ndespatch@chrome://marionette/content/server.js:557:20\nexecute@chrome://marionette/content/server.js:531:11\nonPacket/<@chrome://marionette/content/server.js:506:15\nonPacket@chrome://marionette/content/server.js:505:8\n_onJSONObjectReady/<@chrome://marionette/content/transport.js:500:9\n"},null]
1521818044918 webdriver::server DEBUG Returning status BadRequest
1521818044918 webdriver::server DEBUG Returning body {"value":{"error":"invalid argument","message":"Expected [object Undefined] undefined to be a string","stacktrace":"stack backtrace:\n 0: 0x61f07f -
Did you see my comment about running this with geckodriver 0.20.0?
1521819268555 geckodriver INFO Listening on 127.0.0.1:57829 1521819271641 mozprofile::profile INFO Using profile path C:\Users\altez\AppData\Local\Temp\rust_mozprofile.ytMmss5k0sB7 1521819271649 geckodriver::marionette INFO Starting browser C:\Program Files\Mozilla Firefox\firefox.exe with args [] 1521819271656 geckodriver::marionette INFO Connecting to Marionette on localhost:57837 1521819272842 Marionette DEBUG Received observer notification "profile-after-change" Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath 1521819272962 Marionette DEBUG Received observer notification "command-line-startup" 1521819272962 Marionette INFO Enabled via --marionette Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath 1521819273659 geckodriver::marionette DEBUG connection attempt 0/600 Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath 1521819274388 Marionette DEBUG Received observer notification "sessionstore-windows-restored" Unable to read VR Path Registry from C:\Users\altez\AppData\Local\openvr\openvrpaths.vrpath 1521819274554 Marionette DEBUG Setting recommended pref browser.safebrowsing.passwords.enabled to false 1521819274554 Marionette DEBUG Setting recommended pref toolkit.cosmeticAnimations.enabled to false 1521819274554 Marionette DEBUG Setting recommended pref browser.urlbar.suggest.searches to false 1521819274554 Marionette DEBUG Setting recommended pref browser.urlbar.userMadeSearchSuggestionsChoice to true 1521819274554 Marionette DEBUG Setting recommended pref datareporting.policy.dataSubmissionPolicyAccepted to false 1521819274554 Marionette DEBUG Setting recommended pref dom.file.createInChild to true 1521819274554 Marionette DEBUG Setting recommended pref extensions.shield-recipe-client.api_url to 1521819274556 Marionette DEBUG New connections are accepted 1521819274556 Marionette INFO Listening on port 57837 1521819274761 geckodriver::marionette DEBUG TCP connection established 1521819274762 Marionette DEBUG Accepted connection 0 from 127.0.0.1:57854 1521819274763 geckodriver::marionette DEBUG ← {"applicationType":"gecko","marionetteProtocol":3} 1521819274763 geckodriver::marionette DEBUG → 155:[0,1,"newSession",{"capabilities":{"desiredCapabilities":{"acceptInsecureCerts":true,"browserName":"firefox"},"requiredCapabilities":{}},"sessionId":null}] 1521819274764 Marionette TRACE 0 -> [0,1,"newSession",{"capabilities":{"desiredCapabilities":{"acceptInsecureCerts":true,"browserName":"firefox"},"requiredCapabilities":{}},"sessionId":null}] 1521819274814 Marionette DEBUG Register listener.js for window 4294967297 1521819274822 Marionette TRACE 0 <- [1,1,null,{"sessionId":"7e9d27ad-c2c6-41ca-ab77-5785ec2d4b44","capabilities":{"browserName":"firefox","browserVersion":"59.0" ... AppData\Local\Temp\rust_mozprofile.ytMmss5k0sB7","moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}] 1521819274824 geckodriver::marionette DEBUG ← [1,1,null,{"sessionId":"7e9d27ad-c2c6-41ca-ab77-5785ec2d4b44","capabilities":{"browserName":"firefox","browserVersion":"59.0","platformName":"windows_nt","platformVersion":"10.0","pageLoadStrategy":"normal","acceptInsecureCerts":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"rotatable":false,"moz:accessibilityChecks":false,"moz:headless":false,"moz:processID":7124,"moz:profile":"C:\Users\altez\AppData\Local\Temp\rust_mozprofile.ytMmss5k0sB7","moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}] 1521819274824 webdriver::server DEBUG Returning status Ok 1521819274824 webdriver::server DEBUG Returning body {"value": {"sessionId":"7e9d27ad-c2c6-41ca-ab77-5785ec2d4b44","value":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"59.0","moz:accessibilityChecks":false,"moz:headless":false,"moz:processID":7124,"moz:profile":"C:\Users\altez\AppData\Local\Temp\rust_mozprofile.ytMmss5k0sB7","moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"pageLoadStrategy":"normal","platformName":"windows_nt","platformVersion":"10.0","rotatable":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000}}}} 1521819274824 hyper::header TRACE Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) ) 1521819274824 hyper::header TRACE Headers.set( "Cache-Control", CacheControl([NoCache]) ) 1521819274825 hyper::header TRACE Headers.set( "Content-Length", ContentLength(537) ) 1521819274825 hyper::server::response DEBUG writing head: Http11 Ok 1521819274825 hyper::header TRACE Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 34, tm_min: 34, tm_hour: 15, tm_mday: 23, tm_mon: 2, tm_year: 118, tm_wday: 5, tm_yday: 81, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 825405900 })) ) 1521819274825 hyper::server::response DEBUG headers [ Headers { Connection: close , Content-Type: application/json; charset=utf-8 , Cache-Control: no-cache , Content-Length: 537 , Date: Fri, 23 Mar 2018 15:34:34 GMT , }] 1521819274825 hyper::server::response DEBUG write 537 bytes 1521819274825 hyper::server::response TRACE ending 1521819274825 hyper::server DEBUG keep_alive = false for 127.0.0.1:57836 1521819274825 hyper::server DEBUG keep_alive loop ending for 127.0.0.1:57836 1521819274827 hyper::server DEBUG Incoming stream 1521819274827 hyper::buffer TRACE get_buf [] 1521819274827 hyper::buffer TRACE read_into_buf buf[0..4096] 1521819274827 hyper::buffer TRACE get_buf [u8; 4096][0..294] 1521819274827 hyper::http::h1 TRACE try_parse([80, 79, 83, 84, 32, 47, 115, 101, 115, 115, 105, 111, 110, 47, 55, 101, 57, 100, 50, 55, 97, 100, 45, 99, 50, 99, 54, 45, 52, 49, 99, 97, 45, 97, 98, 55, 55, 45, 53, 55, 56, 53, 101, 99, 50, 100, 52, 98, 52, 52, 47, 117, 114, 108, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 72, 111, 115, 116, 58, 32, 49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 53, 55, 56, 50, 57, 13, 10, 65, 99, 99, 101, 112, 116, 45, 69, 110, 99, 111, 100, 105, 110, 103, 58, 32, 105, 100, 101, 110, 116, 105, 116, 121, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 76, 101, 110, 103, 116, 104, 58, 32, 51, 49, 13, 10, 65, 99, 99, 101, 112, 116, 58, 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 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, 99, 104, 97, 114, 115, 101, 116, 61, 85, 84, 70, 45, 56, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 80, 121, 116, 104, 111, 110, 32, 104, 116, 116, 112, 32, 97, 117, 116, 104, 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, 123, 34, 117, 114, 108, 34, 58, 32, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 121, 97, 104, 111, 111, 46, 99, 111, 109, 34, 125]) 1521819274827 hyper::http::h1 TRACE Request.try_parse([Header; 100], [u8; 294]) 1521819274827 hyper::http::h1 TRACE Request.try_parse Complete(263) 1521819274827 hyper::header TRACE raw header: "Host"=[49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 53, 55, 56, 50, 57] 1521819274827 hyper::header TRACE raw header: "Accept-Encoding"=[105, 100, 101, 110, 116, 105, 116, 121] 1521819274827 hyper::header TRACE raw header: "Content-Length"=[51, 49] 1521819274827 hyper::header TRACE raw header: "Accept"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110] 1521819274827 hyper::header TRACE raw header: "Content-Type"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 99, 104, 97, 114, 115, 101, 116, 61, 85, 84, 70, 45, 56] 1521819274827 hyper::header TRACE raw header: "User-Agent"=[80, 121, 116, 104, 111, 110, 32, 104, 116, 116, 112, 32, 97, 117, 116, 104] 1521819274827 hyper::header TRACE raw header: "Connection"=[107, 101, 101, 112, 45, 97, 108, 105, 118, 101] 1521819274827 hyper::server::request DEBUG Request Line: Post AbsolutePath("/session/7e9d27ad-c2c6-41ca-ab77-5785ec2d4b44/url") Http11 1521819274827 hyper::server::request DEBUG Headers { Host: 127.0.0.1:57829 , Accept-Encoding: identity , Content-Length: 31 , Accept: application/json , Content-Type: application/json;charset=UTF-8 , User-Agent: Python http auth , Connection: keep-alive , } 1521819274827 hyper::header TRACE Headers.set( "Connection", Connection([Close]) ) 1521819274827 hyper::http::h1 TRACE Sized read, remaining=31 1521819274827 hyper::http::h1 TRACE Sized read: 31 1521819274827 hyper::http::h1 TRACE Sized read, remaining=0 1521819274827 webdriver::server DEBUG Got request POST AbsolutePath("/session/7e9d27ad-c2c6-41ca-ab77-5785ec2d4b44/url") 1521819274827 webdriver::command DEBUG Got request body {"url": "http://www.yahoo.com"} 1521819274827 geckodriver::marionette DEBUG → 42:[0,2,"get",{"url":"http://www.yahoo.com"}] 1521819274828 Marionette TRACE 0 -> [0,2,"get",{"url":"http://www.yahoo.com"}] 1521819274846 Marionette DEBUG Received DOM event beforeunload for about:blank 1521819275480 Marionette DEBUG Received DOM event pagehide for about:blank 1521819278384 Marionette DEBUG Received DOM event DOMContentLoaded for https://www.yahoo.com/
1521819299230 Marionette DEBUG Received DOM event pageshow for https://www.yahoo.com/
1521819299230 Marionette TRACE 0 <- [1,2,null,{}]
1521819299231 geckodriver::marionette DEBUG ← [1,2,null,{}]
1521819299232 webdriver::server DEBUG Returning status Ok
1521819299232 webdriver::server DEBUG Returning body {"value": {}}
1521819299232 hyper::header TRACE Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1521819299232 hyper::header TRACE Headers.set( "Cache-Control", CacheControl([NoCache]) )
1521819299232 hyper::header TRACE Headers.set( "Content-Length", ContentLength(13) )
1521819299232 hyper::server::response DEBUG writing head: Http11 Ok
1521819299232 hyper::header TRACE Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 59, tm_min: 34, tm_hour: 15, tm_mday: 23, tm_mon: 2, tm_year: 118, tm_wday: 5, tm_yday: 81, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 232283000 })) )
1521819299232 hyper::server::response DEBUG headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 13
, Date: Fri, 23 Mar 2018 15:34:59 GMT
, }]
1521819299232 hyper::server::response DEBUG write 13 bytes
1521819299232 hyper::server::response TRACE ending
1521819299232 hyper::server DEBUG keep_alive = false for 127.0.0.1:57855
1521819299232 hyper::server DEBUG keep_alive loop ending for 127.0.0.1:57855
1521819299233 hyper::server DEBUG Incoming stream
1521819299233 hyper::buffer TRACE get_buf []
1521819299233 hyper::buffer TRACE read_into_buf buf[0..4096]
1521819299233 hyper::buffer TRACE get_buf [u8; 4096][0..327]
1521819299233 hyper::http::h1 TRACE try_parse([80, 79, 83, 84, 32, 47, 115, 101, 115, 115, 105, 111, 110, 47, 55, 101, 57, 100, 50, 55, 97, 100, 45, 99, 50, 99, 54, 45, 52, 49, 99, 97, 45, 97, 98, 55, 55, 45, 53, 55, 56, 53, 101, 99, 50, 100, 52, 98, 52, 52, 47, 101, 108, 101, 109, 101, 110, 116, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 72, 111, 115, 116, 58, 32, 49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 53, 55, 56, 50, 57, 13, 10, 65, 99, 99, 101, 112, 116, 45, 69, 110, 99, 111, 100, 105, 110, 103, 58, 32, 105, 100, 101, 110, 116, 105, 116, 121, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 76, 101, 110, 103, 116, 104, 58, 32, 54, 48, 13, 10, 65, 99, 99, 101, 112, 116, 58, 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 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, 99, 104, 97, 114, 115, 101, 116, 61, 85, 84, 70, 45, 56, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 80, 121, 116, 104, 111, 110, 32, 104, 116, 116, 112, 32, 97, 117, 116, 104, 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, 123, 34, 117, 115, 105, 110, 103, 34, 58, 32, 34, 99, 115, 115, 32, 115, 101, 108, 101, 99, 116, 111, 114, 34, 44, 32, 34, 118, 97, 108, 117, 101, 34, 58, 32, 34, 91, 105, 100, 61, 92, 34, 117, 104, 45, 115, 101, 97, 114, 99, 104, 45, 98, 111, 120, 92, 34, 93, 34, 125])
1521819299233 hyper::http::h1 TRACE Request.try_parse([Header; 100], [u8; 327])
1521819299233 hyper::http::h1 TRACE Request.try_parse Complete(267)
1521819299233 hyper::header TRACE raw header: "Host"=[49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 53, 55, 56, 50, 57]
1521819299233 hyper::header TRACE raw header: "Accept-Encoding"=[105, 100, 101, 110, 116, 105, 116, 121]
1521819299233 hyper::header TRACE raw header: "Content-Length"=[54, 48]
1521819299233 hyper::header TRACE raw header: "Accept"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110]
1521819299233 hyper::header TRACE raw header: "Content-Type"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 99, 104, 97, 114, 115, 101, 116, 61, 85, 84, 70, 45, 56]
1521819299233 hyper::header TRACE raw header: "User-Agent"=[80, 121, 116, 104, 111, 110, 32, 104, 116, 116, 112, 32, 97, 117, 116, 104]
1521819299233 hyper::header TRACE raw header: "Connection"=[107, 101, 101, 112, 45, 97, 108, 105, 118, 101]
1521819299233 hyper::server::request DEBUG Request Line: Post AbsolutePath("/session/7e9d27ad-c2c6-41ca-ab77-5785ec2d4b44/element") Http11
1521819299233 hyper::server::request DEBUG Headers { Host: 127.0.0.1:57829
, Accept-Encoding: identity
, Content-Length: 60
, Accept: application/json
, Content-Type: application/json;charset=UTF-8
, User-Agent: Python http auth
, Connection: keep-alive
, }
1521819299233 hyper::header TRACE Headers.set( "Connection", Connection([Close]) )
1521819299233 hyper::http::h1 TRACE Sized read, remaining=60
1521819299233 hyper::http::h1 TRACE Sized read: 32
1521819299233 hyper::http::h1 TRACE Sized read, remaining=28
1521819299233 hyper::http::h1 TRACE Sized read: 28
1521819299233 hyper::http::h1 TRACE Sized read, remaining=0
1521819299234 webdriver::server DEBUG Got request POST AbsolutePath("/session/7e9d27ad-c2c6-41ca-ab77-5785ec2d4b44/element")
1521819299234 webdriver::command DEBUG Got request body {"using": "css selector", "value": "[id=\"uh-search-box\"]"}
1521819299234 geckodriver::marionette DEBUG → 77:[0,3,"findElement",{"using":"css selector","value":"[id=\"uh-search-box\"]"}]
1521819299236 Marionette TRACE 0 -> [0,3,"findElement",{"using":"css selector","value":"[id=\"uh-search-box\"]"}]
1521819299254 Marionette TRACE 0 <- [1,3,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"e54b41ae-9d0a-4121-a41d-e90b31b603c9","ELEMENT":"e54b41ae-9d0a-4121-a41d-e90b31b603c9"}}]
1521819299254 geckodriver::marionette DEBUG ← [1,3,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"e54b41ae-9d0a-4121-a41d-e90b31b603c9","ELEMENT":"e54b41ae-9d0a-4121-a41d-e90b31b603c9"}}]
1521819299254 webdriver::server DEBUG Returning status Ok
1521819299255 webdriver::server DEBUG Returning body {"value":{"element-6066-11e4-a52e-4f735466cecf":"e54b41ae-9d0a-4121-a41d-e90b31b603c9"}}
1521819299255 hyper::header TRACE Headers.set( "Content-Type", ContentType(Mime(Application, Json, [(Charset, Utf8)])) )
1521819299255 hyper::header TRACE Headers.set( "Cache-Control", CacheControl([NoCache]) )
1521819299255 hyper::header TRACE Headers.set( "Content-Length", ContentLength(88) )
1521819299255 hyper::server::response DEBUG writing head: Http11 Ok
1521819299255 hyper::header TRACE Headers.set( "Date", Date(HttpDate(Tm { tm_sec: 59, tm_min: 34, tm_hour: 15, tm_mday: 23, tm_mon: 2, tm_year: 118, tm_wday: 5, tm_yday: 81, tm_isdst: 0, tm_utcoff: 0, tm_nsec: 255145200 })) )
1521819299255 hyper::server::response DEBUG headers [
Headers { Connection: close
, Content-Type: application/json; charset=utf-8
, Cache-Control: no-cache
, Content-Length: 88
, Date: Fri, 23 Mar 2018 15:34:59 GMT
, }]
1521819299255 hyper::server::response DEBUG write 88 bytes
1521819299255 hyper::server::response TRACE ending
1521819299255 hyper::server DEBUG keep_alive = false for 127.0.0.1:57944
1521819299255 hyper::server DEBUG keep_alive loop ending for 127.0.0.1:57944
1521819299256 hyper::server DEBUG Incoming stream
1521819299257 hyper::buffer TRACE get_buf []
1521819299257 hyper::buffer TRACE read_into_buf buf[0..4096]
1521819299257 hyper::buffer TRACE get_buf [u8; 4096][0..518]
1521819299257 hyper::http::h1 TRACE try_parse([80, 79, 83, 84, 32, 47, 115, 101, 115, 115, 105, 111, 110, 47, 55, 101, 57, 100, 50, 55, 97, 100, 45, 99, 50, 99, 54, 45, 52, 49, 99, 97, 45, 97, 98, 55, 55, 45, 53, 55, 56, 53, 101, 99, 50, 100, 52, 98, 52, 52, 47, 101, 108, 101, 109, 101, 110, 116, 47, 101, 53, 52, 98, 52, 49, 97, 101, 45, 57, 100, 48, 97, 45, 52, 49, 50, 49, 45, 97, 52, 49, 100, 45, 101, 57, 48, 98, 51, 49, 98, 54, 48, 51, 99, 57, 47, 118, 97, 108, 117, 101, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 72, 111, 115, 116, 58, 32, 49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 53, 55, 56, 50, 57, 13, 10, 65, 99, 99, 101, 112, 116, 45, 69, 110, 99, 111, 100, 105, 110, 103, 58, 32, 105, 100, 101, 110, 116, 105, 116, 121, 13, 10, 67, 111, 110, 116, 101, 110, 116, 45, 76, 101, 110, 103, 116, 104, 58, 32, 50, 48, 55, 13, 10, 65, 99, 99, 101, 112, 116, 58, 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 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, 99, 104, 97, 114, 115, 101, 116, 61, 85, 84, 70, 45, 56, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 80, 121, 116, 104, 111, 110, 32, 104, 116, 116, 112, 32, 97, 117, 116, 104, 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, 123, 34, 116, 101, 120, 116, 34, 58, 32, 34, 97, 104, 45, 82, 65, 72, 78, 45, 101, 101, 45, 97, 32, 69, 75, 83, 45, 115, 117, 45, 109, 97, 121, 34, 44, 32, 34, 118, 97, 108, 117, 101, 34, 58, 32, 91, 34, 97, 34, 44, 32, 34, 104, 34, 44, 32, 34, 45, 34, 44, 32, 34, 82, 34, 44, 32, 34, 65, 34, 44, 32, 34, 72, 34, 44, 32, 34, 78, 34, 44, 32, 34, 45, 34, 44, 32, 34, 101, 34, 44, 32, 34, 101, 34, 44, 32, 34, 45, 34, 44, 32, 34, 97, 34, 44, 32, 34, 32, 34, 44, 32, 34, 69, 34, 44, 32, 34, 75, 34, 44, 32, 34, 83, 34, 44, 32, 34, 45, 34, 44, 32, 34, 115, 34, 44, 32, 34, 117, 34, 44, 32, 34, 45, 34, 44, 32, 34, 109, 34, 44, 32, 34, 97, 34, 44, 32, 34, 121, 34, 93, 44, 32, 34, 105, 100, 34, 58, 32, 34, 101, 53, 52, 98, 52, 49, 97, 101, 45, 57, 100, 48, 97, 45, 52, 49, 50, 49, 45, 97, 52, 49, 100, 45, 101, 57, 48, 98, 51, 49, 98, 54, 48, 51, 99, 57, 34, 125])
1521819299257 hyper::http::h1 TRACE Request.try_parse([Header; 100], [u8; 518])
1521819299257 hyper::http::h1 TRACE Request.try_parse Complete(311)
1521819299257 hyper::header TRACE raw header: "Host"=[49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 53, 55, 56, 50, 57]
1521819299257 hyper::header TRACE raw header: "Accept-Encoding"=[105, 100, 101, 110, 116, 105, 116, 121]
1521819299257 hyper::header TRACE raw header: "Content-Length"=[50, 48, 55]
1521819299257 hyper::header TRACE raw header: "Accept"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110]
1521819299257 hyper::header TRACE raw header: "Content-Type"=[97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 59, 99, 104, 97, 114, 115, 101, 116, 61, 85, 84, 70, 45, 56]
1521819299257 hyper::header TRACE raw header: "User-Agent"=[80, 121, 116, 104, 111, 110, 32, 104, 116, 116, 112, 32, 97, 117, 116, 104]
1521819299257 hyper::header TRACE raw header: "Connection"=[107, 101, 101, 112, 45, 97, 108, 105, 118, 101]
1521819299257 hyper::server::request DEBUG Request Line: Post AbsolutePath("/session/7e9d27ad-c2c6-41ca-ab77-5785ec2d4b44/element/e54b41ae-9d0a-4121-a41d-e90b31b603c9/value") Http11
1521819299257 hyper::server::request DEBUG Headers { Host: 127.0.0.1:57829
, Accept-Encoding: identity
, Content-Length: 207
, Accept: application/json
, Content-Type: application/json;charset=UTF-8
, User-Agent: Python http auth
, Connection: keep-alive
, }
1521819299257 hyper::header TRACE Headers.set( "Connection", Connection([Close]) )
1521819299257 hyper::http::h1 TRACE Sized read, remaining=207
1521819299257 hyper::http::h1 TRACE Sized read: 32
1521819299257 hyper::http::h1 TRACE Sized read, remaining=175
1521819299257 hyper::http::h1 TRACE Sized read: 64
1521819299257 hyper::http::h1 TRACE Sized read, remaining=111
1521819299257 hyper::http::h1 TRACE Sized read: 111
1521819299257 hyper::http::h1 TRACE Sized read, remaining=0
1521819299257 webdriver::server DEBUG Got request POST AbsolutePath("/session/7e9d27ad-c2c6-41ca-ab77-5785ec2d4b44/element/e54b41ae-9d0a-4121-a41d-e90b31b603c9/value")
1521819299259 webdriver::command DEBUG Got request body {"text": "ah-RAHN-ee-a EKS-su-may", "value": ["a", "h", "-", "R", "A", "H", "N", "-", "e", "e", "-", "a", " ", "E", "K", "S", "-", "s", "u", "-", "m", "a", "y"], "id": "e54b41ae-9d0a-4121-a41d-e90b31b603c9"}
1521819299260 geckodriver::marionette DEBUG → 173:[0,4,"sendKeysToElement",{"id":"e54b41ae-9d0a-4121-a41d-e90b31b603c9","value":["a","h","-","R","A","H","N","-","e","e","-","a"," ","E","K","S","-","s","u","-","m","a","y"]}]
1521819299260 Marionette TRACE 0 -> [0,4,"sendKeysToElement",{"id":"e54b41ae-9d0a-4121-a41d-e90b31b603c9","value":["a","h","-","R","A","H","N","-","e","e","-","a"," ","E","K","S","-","s","u","-","m","a","y"]}]
1521819299262 Marionette TRACE 0 <- [1,4,{"error":"invalid argument","message":"Expected [object Undefined] undefined to be a string","stacktrace":"WebDriverErro ... et@chrome://marionette/content/server.js:505:8\n_onJSONObjectReady/<@chrome://marionette/content/transport.js:500:9\n"},null]
1521819299262 geckodriver::marionette DEBUG ← [1,4,{"error":"invalid argument","message":"Expected [object Undefined] undefined to be a string","stacktrace":"WebDriverError@chrome://marionette/content/error.js:172:5\nInvalidArgumentError@chrome://marionette/content/error.js:299:5\nassert.that/<@chrome://marionette/content/assert.js:407:13\nassert.string@chrome://marionette/content/assert.js:316:10\nGeckoDriver.prototype.sendKeysToElement@chrome://marionette/content/driver.js:2512:14\ndespatch@chrome://marionette/content/server.js:557:20\nexecute@chrome://marionette/content/server.js:531:11\nonPacket/<@chrome://marionette/content/server.js:506:15\nonPacket@chrome://marionette/content/server.js:505:8\n_onJSONObjectReady/<@chrome://marionette/content/transport.js:500:9\n"},null]
1521819299263 webdriver::server DEBUG Returning status BadRequest
1521819299263 webdriver::server DEBUG Returning body {"value":{"error":"invalid argument","message":"Expected [object Undefined] undefined to be a string","stacktrace":"stack backtrace:\n 0: 0x61f07f -
As I keep telling you, this is not the output from 0.20.0.
I’m not sure what you’re trying to say but since you are using an older version of geckodriver, this is not a valid bug. I had a look at the stacktrace and your problem will be resolved if you upgrade to geckodriver 0.20.0.
Dupe of issue #1229.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue.
System
import selenium from selenium import webdriver
start_page = "http://www.yahoo.com" spell = "ah-RAHN-ee-a EKS-su-may" browser = webdriver.Firefox() browser.get(start_page) browser.find_element_by_id("uh-search-box").send_keys(spell)
Traceback (most recent call last): File "test.py", line 12, in browser.find_element_by_id("uh-search-box").send_keys(spell) File "C:\Users###\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\webelement.py", line 479, in send_keys 'value': keys_to_typing(value)}) File "C:\Users###\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\webelement.py", line 628, in _execute return self._parent.execute(command, params) File "C:\Users###\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 312, in execute self.error_handler.check_response(response) File "C:\Users###\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.InvalidArgumentException: Message: Expected [object Undefined] undefined to be a string