cristeat / testing

0 stars 0 forks source link

Hard coded crome path #2

Open alexcomsa opened 5 years ago

alexcomsa commented 5 years ago

https://github.com/cristeat/testing/blob/9031f04dc6d08d1bbebfce026cebc625a124b7d5/src/main/java/projectRelated/DriverInit.java#L16 Again this will only work on one machine . You want your test to work on multiple machines , to achive this goal please make the driver creation method configurable by to providing the driver location as a method parameter.