Complete the code to select an option by its value attribute.
select.select_by_[1]('option1')
The select_by_value method selects an option by its value attribute.
Complete the code to select an option by its visible text.
select.select_by_[1]('Option 2')
The select_by_visible_text method selects an option by the text shown to the user.
Fix the error in selecting an option by index.
select.select_by_[1](2)
The select_by_index method selects an option by its position number (starting at 0).
Fill both blanks to select by visible text and then by value.
select.select_by_[1]('Option 3') select.select_by_[2]('val3')
First select by visible text, then select by value attribute.
Fill all three blanks to select by index, then by value, then by visible text.
select.select_by_[1](1) select.select_by_[2]('val2') select.select_by_[3]('Option 2')
The code selects options by index, then by value, then by visible text in order.
