Go back to the main page

Detect the yellow fade technique or highlight effect with Capybara

This article is over 2 years old. Proceed with caution.

Regards ♨ – Minimul

 

This detection is only for jqueryui's .effect('highlight').

page.should have_selector("#element-id-or-class-name-being-highlighted[style^='background']")
Comment on this article?