Added implicit waits to firefox driver