don't show buttons for unavailable actions
update selenium-webdriver

makes it work on mavericks.
use valid markup