Add ability to run against generic selenium grid

@wedaly