Operating environment: Mac OS X 10.8.3, Ruby 2.0.0.

I have installed the headless gem, but it is not working for me. 
Watir-webdriver works fine, but headless did not.

This is my code:

require 'watir-webdriver'
require 'headless'

headless = Headless.new
headless.start

b = Watir::Browser.start 'google.com'

...

b.close
headless.destroy

This all works just fine, with no error messages… but it's not headless. I get 
a normal Firefox window. (Firefox is my default browser.)

Xvfb is installed and seems to be working fine:

$ which xvfb
#=> /opt/X11/bin/xvfb

I would appreciate some help if anyone has run into this before. I did not find 
this particular problem in my watir-general digests.

Thanks.

Lonny Eachus
===========

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to