Right now I'm just using dumb sleep statements, but there has GOT to be a better way to make things work than what I'm doing, right? I've tried visible
and until_present
but so far neither of them have the desired effect.
The element in particular is a table column header that, when clicked, will re-sort the table against it. When it is clicked, the table dims a little loading icon pops up, and the button is not clickable again until that icon is gone and the table re-brightens.
This blog post provided a solution: https://jkotests.wordpress.com/2015/03/20/element-is-not-clickable-due-to-another-element-that-would-receive-the-click/