Tuesday, July 12, 2011

Selenium 2 RC3 and Python bindings have removed toggle() and select()...

-    def toggle(self):
76   
-        """Toggles the element state."""
77   
-        resp = self._execute(Command.TOGGLE_ELEMENT)
78   
-        return resp['value']
79   
-
80 68 
     def is_selected(self):
81 69 
         """Whether the element is selected."""
82 70 
         return self._execute(Command.IS_ELEMENT_SELECTED)['value']
83 71 
 
84   
-    def select(self):
85   
-        """Selects an element."""
86   
-        self._execute(Command.SET_ELEMENT_SELECTED)
87   
-

IEDriver.dll changes:
http://code.google.com/p/selenium/source/browse/trunk/cpp/IEDriver/CommandHandlers/ClickElementCommandHandler.h?spec=svn12477&r=12477

No comments:

Post a Comment