parametrize jquery no such element error
move driver element initialization to method