fix selenium

possibly instead of #1227