I'm trying to avoid running this particular selenium script in a production environment. When this test is ran manually, I change my /etc/hosts file accordingly.
xx.x.xxx.xx www.url.com
What is a practical way of passing the test environment IP to the driver? Or perhaps have the driver read from the host file?
Aucun commentaire:
Enregistrer un commentaire