I have a problem while testing my cases on browser stack. The problem am facing is inconsistently reproduced.
To make my code wait until an element is loaded am using as below:
gift_no_btn1 = Capybara.find('giftingNoButton')
gift_no_btn1.click
The problem here is that the screen is stuck in the other module where my intended element is not loaded and hence my script fails. I have read that find() method is replaced of wait_untill method in Capybara 2.0.