Fixing cuke smoke tests i.e. handling stale element reference exception