I need help getting my code to type to a new tab
I am trying to make it open kahoot.it in a new tab but it will not type into the new tab and only the first tab. Can you guys help me?
Also, it is giving me this error:
Traceback (most recent call last): File "main.py", line 28, in <module> driver.switch_to_window(driver.window_handles) AttributeError: 'Browser' object has no attribute 'switch_to_window' exit status 1
Your currently using a
selenium webdriver function to switch windows. I was unable to find a switch_to_window() in webbot documentation but I found a switch_to_tab() so either switch to webdriver or switch tabs