typo in By.ID

AttributeError: type object 'By' has no attribute 'Id'


Correct: By.ID