Git Product home page Git Product logo

Comments (8)

madhavankumar avatar madhavankumar commented on July 1, 2024

Error log:
irb(main):002:0> require "watir-webdriver" => true irb(main):003:0> browser = Watir::Browser.new :chrome [8056:5984:0213/155207:ERROR:child_process_launcher.cc(332)] Failed to launch child process [8056:1304:0213/155207:ERROR:chrome_views_delegate.cc(176)] NOT IMPLEMENTED [8056:1304:0213/155207:ERROR:desktop_root_window_host_win.cc(746)] NOT IMPLEMENTED [8056:1304:0213/155208:ERROR:child_process_launcher.cc(332)] Failed to launch child process [8056:1304:0213/155208:ERROR:desktop_root_window_host_win.cc(746)] NOT IMPLEMENT ED [8056:1304:0213/155208:ERROR:child_process_launcher.cc(332)] Failed to launch ch ild process [8056:1304:0213/155208:ERROR:child_process_launcher.cc(332)] Failed to launch ch ild process [8056:1304:0213/155208:ERROR:desktop_root_window_host_win.cc(746)] NOT IMPLEMENT ED [8056:1304:0213/155208:ERROR:child_process_launcher.cc(332)] Failed to launch ch ild process [8056:1304:0213/155208:ERROR:child_process_launcher.cc(332)] Failed to launch ch ild process [8056:1304:0213/155208:ERROR:desktop_root_window_host_win.cc(746)] NOT IMPLEMENT ED [8056:1304:0213/155208:ERROR:desktop_root_window_host_win.cc(746)] NOT IMPLEMENT ED [8056:1304:0213/155216:ERROR:desktop_root_window_host_win.cc(746)] NOT IMPLEMENT ED Selenium::WebDriver::Error::UnknownError: unknown error: unable to discover open pages (Driver info: chromedriver=2.6.232923,platform=Windows NT 6.1 SP1 x86_64) from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.39.0/lib/s elenium/webdriver/remote/response.rb:51:in assert_ok' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.39.0/lib/s elenium/webdriver/remote/response.rb:15:ininitialize' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.39.0/lib/s elenium/webdriver/remote/http/common.rb:59:in new' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.39.0/lib/s elenium/webdriver/remote/http/common.rb:59:increate_response' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.39.0/lib/s elenium/webdriver/remote/http/default.rb:66:in request' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.39.0/lib/s elenium/webdriver/remote/http/common.rb:40:incall' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.39.0/lib/s elenium/webdriver/remote/bridge.rb:634:in raw_execute' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.39.0/lib/s elenium/webdriver/remote/bridge.rb:99:increate_session' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.39.0/lib/s elenium/webdriver/remote/bridge.rb:68:in initialize' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.39.0/lib/s elenium/webdriver/chrome/bridge.rb:29:ininitialize' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.39.0/lib/s elenium/webdriver/common/driver.rb:37:in new' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.39.0/lib/s elenium/webdriver/common/driver.rb:37:infor' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.39.0/lib/s elenium/webdriver.rb:67:in for' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.7/lib/watir -webdriver/browser.rb:46:ininitialize' from (irb):3:in new' from (irb):3 from C:/Ruby193/bin/irb:12:in'irb(main):004:0> exit

from childprocess.

madhavankumar avatar madhavankumar commented on July 1, 2024

Screenshot
watir-webdriver error

from childprocess.

jarib avatar jarib commented on July 1, 2024

Interesting. Is anyone having this problem on non-Windows?

from childprocess.

madhavankumar avatar madhavankumar commented on July 1, 2024

I reverted back to 0.3.9 and did NOT have any issues

from childprocess.

jarib avatar jarib commented on July 1, 2024

I know what change is causing the issue. It should work well with 0.4.0 and below.

from childprocess.

fabrice31 avatar fabrice31 commented on July 1, 2024

Back to 0.4.0 on 4 windows computer no more problem.

from childprocess.

huangzhichong avatar huangzhichong commented on July 1, 2024

I tried with 0.4.2 on OSX 10.9, it is working well.

➜ ~ gem list | grep selenium
selenium-webdriver (2.39.0)
➜ ~ gem list | grep childprocess
childprocess (0.4.2)
➜ ~ irb
1.9.3-p392 :001 > require 'selenium-webdriver'
=> true
1.9.3-p392 :002 > d = Selenium::WebDriver.for :chrome
=> #<Selenium::WebDriver::Driver:0x675c8099279e26b8 browser=:chrome>
1.9.3-p392 :003 > d.get "http://google.com"
=> nil

from childprocess.

jarib avatar jarib commented on July 1, 2024

This should be fixed in the 0.5.0 release, which I just pushed.

from childprocess.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.