-
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
when you initiate a Tab with new_tab=driver.open_link_in_new_tab(link) as a exemple and you want to close it later with new_tab.close()
you get that error :
AttributeError: 'Tab' object has no attribute 'is_closed'
botasaurus_driver\core\tab.py", line 1085, in close
if not self.is_closed:
because is_closed is not initiate at init() which is a problem in python
adding the line self.is_closed=None line 163 of tab.py resolve this issue.
Metadata
Metadata
Assignees
Labels
No labels