From 73ee531041019b3aebfb961d9ceaa23a1bc02e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Linhart?= Date: Sun, 6 Nov 2016 16:17:38 +0100 Subject: [PATCH] [py] support.ui.Select class inherits from object 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__. --- py/selenium/webdriver/support/select.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/selenium/webdriver/support/select.py b/py/selenium/webdriver/support/select.py index 3c4f947a6d0db..d343834cf7841 100644 --- a/py/selenium/webdriver/support/select.py +++ b/py/selenium/webdriver/support/select.py @@ -19,7 +19,7 @@ from selenium.common.exceptions import NoSuchElementException, UnexpectedTagNameException -class Select: +class Select(object): def __init__(self, webelement): """