Comments (8)
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.
from childprocess.
Interesting. Is anyone having this problem on non-Windows?
from childprocess.
I reverted back to 0.3.9 and did NOT have any issues
from childprocess.
I know what change is causing the issue. It should work well with 0.4.0 and below.
from childprocess.
Back to 0.4.0 on 4 windows computer no more problem.
from childprocess.
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.
This should be fixed in the 0.5.0 release, which I just pushed.
from childprocess.
Related Issues (20)
- Redirect to IO.pipe on Windows causes inability to start a process HOT 6
- Security Question: Is there a reason childprocess is released as an unsigned gem? HOT 2
- FFI is a required pre-requisite HOT 4
- Pipe i/o example in documentation is incorrect HOT 2
- Erro ao rodar o comando rspec -fd HOT 1
- childprocess kills detached windows process on exit HOT 4
- FFI is a required pre-requisite for Windows or posix_spawn support in the ChildProcess gem. HOT 1
- A backend based on Process.spawn HOT 12
- Ruby 3.0 support HOT 10
- code hanging attempting to @thread.join HOT 1
- Should work for the M1 chip, but needs to be mapped or smth
- `host_cpu` changes between Ruby 2.7.2 and 2.7.3 HOT 2
- FFI installes but rake test get error HOT 4
- cannot load such file -- ffi (LoadError) HOT 2
- Use with StringIO HOT 1
- posix_spawn is not yet supported on aarch64-linux (aarch64-linux), HOT 2
- posix_spawn is not yet supported on sparc-solaris (sparc-solaris2.11) HOT 1
- I happen to be having this error after even having all both ruby, gem, and even chocolatey handy HOT 2
- Test suite is going to be broken with Ruby 3.3 HOT 1
- differences between macos and linux HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from childprocess.