Sometimes it’s really useful to start Firefox browser with preconfigured properties in it's profile It allows us to add some firefox addons like FireBug, and also using “setPreference()” method we can customize Firefox settings for out tests.
Let's look into a simple firefox profile for selenium tests example:
Let’s create a pool with fixed number of threads and execute tasks using it.
Assume that we have some list of elements and each of them should be processed by the same way. But processing takes a lot of time and we decided to use pool of threads.
There are several ways how to take screenshot using Selenium or some Java solutions.The easiest way is to use already defined in WebDriver method getScreenshotAs()