This error occurs when you are using a wrong version of typing or Python that does not recognize the tuple subscripting syntax that you are using.
The error message suggests that the problem is specific to the webdriver module of Selenium, which is probably incompatible with the Python version or a certain dependency that you are using.
Your code looks good, but i think the problem lies in the webdriver version.
Try to change the webdriver to solve this problem.