Added support for selenium