-
-
class Selenium.webdriver.support.select. Select (
webelement )
-
- Deselect_all ( )
-
Clear all selected entries. This is a valid when the SELECT supports multiple selections. Throws Notimplementederror If The SELECT does not support multiple selections
- deselect _by_index (
index )
-
Deselect the option at the given index. This is do by examing the "index" attribute of a element, and not merely by counting.
| args: |
- index-the option at the This index would be des Elected
|
- deselect _by_value (
value )
-
Deselect all options which has a value mat Ching the argument. That's, when given ' Foo ' this would deselect a option like:
<option value= "foo" >bar</opti on>
| args: |
- value-the value T o match against
|
- d Eselect_by_visible_text (
text )
-
Deselect all options The DIS Play text matching the argument. That's, when given ' Bar ' this would deselect a option like:
<option value= "foo" >BAR</OPTION>
| args: |
- text-the visible text to match against
|
- select _by_index (
index )
-
Select the option at the given index. This is do by examing the "index" attribute of a element, and not merely by counting.
| args: |
- index-the option at the This index would be sel ected
|
- select _by_value (
value )
-
Select all options which has a value match ing the argument. That's, when given ' foo ' this would select a option like:
<option value= "foo" >BAR</OPTION>
args:
- value-the value to match against
- sel Ect_by_visible_text (
text )
-
Select all options The display T Ext matching the argument. That's, when given ' Bar ' this would select a option like:
<option value= "foo" >bar</option >
| args: |
- text-the visible te XT to match against
|
- All_selected_options
-
Returns a list of all selected options belonging to this select tag
- First_selected_option
-
The first selected option in this select tag (or the currently selected option in a normal select)
- Options
-
Returns a list of all options belonging to this select tag
-
-
CLASS&NBSP; selenium.webdriver.support.wait. webdriverwait (
driver ,
timeout ,
poll_frequency=0.5 ,
ignored_ Exceptions=none )
-
-
Bases: Object
- until (
method,
message= " )
-
Calls the method provided with the driver as a argument until the return value is not False.
- Until_not (
method,
message= " )
-
Calls the method provided with the driver as a argument until the return value is False.
Webdriver api--part 13th UI Support