Tag Info

New answers tagged


WGet is a command-line tool used to download files. Here's a good tutorial on how it works; you'll need to call out to the command line from inside your test and execute wGet, then check the file it downloaded. How you do this differs depending on your setup (Java vs C#, Windows vs Linux, et cetera). Basically you want to execute the command wget ...


I often put common helper code into a base class. Mostly I do that only for "general purpose" helper code, like logging in, starting and stopping Selenium, dependency injection, and stuff like that. For helper code related to functionality (like selecting or searching or purchasing flights), I always put that not in a base class, but in a delegate class. ...

Top 50 recent answers are included