fix selenium integration