def test_autocomplete(field, options = {}) fill_in field, :with => options[:with] page.execute_script("$('##{field}').trigger('focus');") page.execute_script ("$('##{field}').trigger...

page.execute_script %Q{ $('"#{location}"').val('"#{text}"').keydown(); } sleep(3) page.execute_script %Q{ $('.ui-menu-item a:contains("#{target}")').trigger('mouseenter...

Best results in other decks

It can be hard to understand what causes a browser scroll smoothly or instantly. CSS, JavaScript and the browser settings...

Say you wrap your index view in a form to apply different filters like pagination or a search query. On...

Search in all decks