How to test browser and os specific logic in capybara?
I have some logic that uses HTTP_USER_AGENT to determine whether a user is on chrome and ios. I'm at a loss for how to create a test for this. Is there some way in capybara to force the HTTP_USER_AGENT value?
Aucun commentaire:
Enregistrer un commentaire