3 ms·
We have rolled our own wrapper around selenium implementing page models, using pytest. It feels as though we are reinventing the wheel, though I'm not aware of
by nicois 7y ago
We have rolled our own wrapper around selenium implementing page models, using pytest. It feels as though we are reinventing the wheel, though I'm not aware of an existing public package providing this.
There are many caveats for the unwary when beginning a selenium adventure: detecting and retrying stale element exceptions (you can't just retry the final (say) click operation; you need to retry a DOM interaction sequence), detecting when an async operation begins and reaches a steady state, reliable snapshots and video recording across browsers, injecting the correct args to the browser containers, etc.
- mikeyjk 7y agoAdding 'waits' in for UI elements to be available feels wrong. Seems like busy work.