paypal/SeLion

Does selion have a soulation about how to deal with AJAX request in my page

Closed this issue · 1 comments

Does selion have a soulation about how to deal with AJAX request in my page
mach6 commented

Please ask questions like this via our gitter channel.

That said, this is more of a selenium question.

The recommended approach (and one that SeLion's page object's and elements embrace) is to interact with the page in a fashion where you look for an expectation to occur before the Selenium timeout.

In SeLion, this comes to light with AbstractElement#click(Object ... expected) -- javadocs and/or PageYaml pageValidators -- docs

Both of these methods have proven to be effective..