Skip to content
I need help getting my code to type to a new tab
Profile icon

I am trying to make it open 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 "", line 28, in <module> driver.switch_to_window(driver.window_handles[1]) AttributeError: 'Browser' object has no attribute 'switch_to_window' exit status 1
You are viewing a single comment. View All
Answered by ArjunSS1 [earned 5 cycles]
View Answer
Profile icon

now it says it that 'x' is undefined