fix error caused by adding selenium dependency