Module: Capykit::Base::Jquery
- Defined in:
- lib/capykit/base/jquery.rb
Instance Method Summary collapse
Instance Method Details
#h(sym, new_out = 15) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/capykit/base/jquery.rb', line 2 def h(sym,new_out=15) gselector(sym) @selec=@name if !@selec selec_info('h',sym) new_out=@value.to_i if @value Capybara.timeout(new_out) do je("$('#{@selec}').css('display')")!='block' end true rescue false end |