Skip to content

Commit ed3beaf

Browse files
lukas-linhartAutomatedTester
authored andcommitted
[py] support.ui.Select class inherits from object (#3067)
This makes the behavior of the Select class in Python 2 consistent with Python 3, where all classes are new style classes by default. It allows e.g. for dynamic delegation through __getattribute__.
1 parent 9eeb0fd commit ed3beaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/support/select.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from selenium.common.exceptions import NoSuchElementException, UnexpectedTagNameException
2020

2121

22-
class Select:
22+
class Select(object):
2323

2424
def __init__(self, webelement):
2525
"""

0 commit comments

Comments
 (0)