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

developer.mozilla.org

The linked MDN article is quite informative of a neat feature supported by all major browsers: Unicode character class escape...

Frontend performance and user experience are orthogonal to feature development. If care is not taken, adding features usually degrades frontend...

Search in all decks