rspec/capybara: How to check if cell phone dials a right number (for example after clicking a "tel:" link) -
i have phone number link on mobile version of site:
<a href="tel:+79162003040">+7 916 200-30-40</a>
and want write rspec feature check if browser dials number after clicking link? i'm pretty sure simple link right this:
page.should have_selector 'a', href: 'tel:+79162003040'
but want call javascript function track phone dialing first.
Comments
Post a Comment