{"action":"closed","issue":{"url":"https://api.github.com/repos/watir/watir-webdriver/issues/406","repository_url":"https://api.github.com/repos/watir/watir-webdriver","labels_url":"https://api.github.com/repos/watir/watir-webdriver/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/watir/watir-webdriver/issues/406/comments","events_url":"https://api.github.com/repos/watir/watir-webdriver/issues/406/events","html_url":"https://github.com/watir/watir-webdriver/issues/406","id":135374480,"number":406,"title":"always has exception Net::ReadTimeout","user":{"login":"seaify","id":3056030,"avatar_url":"https://avatars.githubusercontent.com/u/3056030?v=3","gravatar_id":"","url":"https://api.github.com/users/seaify","html_url":"https://github.com/seaify","followers_url":"https://api.github.com/users/seaify/followers","following_url":"https://api.github.com/users/seaify/following{/other_user}","gists_url":"https://api.github.com/users/seaify/gists{/gist_id}","starred_url":"https://api.github.com/users/seaify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seaify/subscriptions","organizations_url":"https://api.github.com/users/seaify/orgs","repos_url":"https://api.github.com/users/seaify/repos","events_url":"https://api.github.com/users/seaify/events{/privacy}","received_events_url":"https://api.github.com/users/seaify/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-22T10:17:02Z","updated_at":"2016-02-22T16:15:18Z","closed_at":"2016-02-22T16:15:18Z","body":"in popup firefox, the element exists, but use browser xpath to extract element, exception shows.\r\n\r\nap car_iframe.element(:xpath => '//*[@id=\"shangpai\"]/select').exists?\r\n\r\nuse watir-webdriver 0.9.1, selenium-webdriver-2.48\r\n\r\n```\r\n\"in bridge execute\"\r\n[\r\n    [0] :getElementTagName,\r\n    [1] {\r\n        :id => \"{58de18a2-de4f-9b4e-980b-ebf0270c512e}\"\r\n    }\r\n]\r\n\"in http common call\"\r\n:get\r\n#<URI::HTTP http://127.0.0.1:7057/hub/session/1db8e902-1144-a845-adc8-3b045900074b/element/%7B58de18a2-de4f-9b4e-980b-ebf0270c512e%7D/name>\r\nnil\r\n/Users/chuck/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/net/protocol.rb:158:in `rescue in rbuf_fill': Net::ReadTimeout (Net::ReadTimeout)\r\n        from /Users/chuck/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/net/protocol.rb:152:in `rbuf_fill'\r\n        from /Users/chuck/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/net/protocol.rb:134:in `readuntil'\r\n        from /Users/chuck/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/net/protocol.rb:144:in `readline'\r\n        from /Users/chuck/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/net/http/response.rb:39:in `read_status_line'\r\n        from /Users/chuck/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/net/http/response.rb:28:in `read_new'\r\n        from /Users/chuck/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/net/http.rb:1413:in `block in transport_request'\r\n        from /Users/chuck/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/net/http.rb:1410:in `catch'\r\n        from /Users/chuck/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/net/http.rb:1410:in `transport_request'\r\n        from /Users/chuck/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/net/http.rb:1383:in `request'\r\n        from /Users/chuck/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/net/http.rb:1376:in `block in request'\r\n        from /Users/chuck/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/net/http.rb:853:in `start'\r\n        from /Users/chuck/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/net/http.rb:1374:in `request'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/selenium-webdriver-2.48.1/lib/selenium/webdriver/remote/http/default.rb:107:in `response_for'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/selenium-webdriver-2.48.1/lib/selenium/webdriver/remote/http/default.rb:58:in `request'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/selenium-webdriver-2.48.1/lib/selenium/webdriver/remote/http/common.rb:64:in `call'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/selenium-webdriver-2.48.1/lib/selenium/webdriver/remote/bridge.rb:673:in `raw_execute'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/selenium-webdriver-2.48.1/lib/selenium/webdriver/remote/bridge.rb:651:in `execute'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/selenium-webdriver-2.48.1/lib/selenium/webdriver/remote/bridge.rb:546:in `getElementTagName'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/selenium-webdriver-2.48.1/lib/selenium/webdriver/common/element.rb:87:in `tag_name'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/watir-webdriver-0.9.1/lib/watir-webdriver/locators/element_locator.rb:294:in `by_id'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/watir-webdriver-0.9.1/lib/watir-webdriver/locators/element_locator.rb:38:in `locate'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/watir-webdriver-0.9.1/lib/watir-webdriver/elements/iframe.rb:8:in `locate'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/watir-webdriver-0.9.1/lib/watir-webdriver/elements/iframe.rb:20:in `switch_to!'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/watir-webdriver-0.9.1/lib/watir-webdriver/elements/element.rb:565:in `ensure_context'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/watir-webdriver-0.9.1/lib/watir-webdriver/elements/element.rb:547:in `locate'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/watir-webdriver-0.9.1/lib/watir-webdriver/elements/element.rb:505:in `assert_exists'\r\n        from /Users/chuck/.rvm/gems/ruby-2.2.0/gems/watir-webdriver-0.9.1/lib/watir-webdriver/elements/element.rb:42:in `exists?'\r\n        from /Users/chuck/seaify/online-products/a16472/lib/car_publisher/com58.rb:114:in `create'\r\n        from run.rb:20:in `<main>'\r\n```"}}