how to speed selenium coding