module Capybara::Selenium::Find

def es_context

def es_context
  respond_to?(:execute_script) ? self : driver
end