View | Details | Raw Unified | Return to bug 19185
Collapse All | Expand All

(-)a/t/lib/Selenium.pm (-2 / +1 lines)
Lines 119-125 sub fill_form { Link Here
119
        if ( $tag eq 'input' ) {
119
        if ( $tag eq 'input' ) {
120
            $self->driver->find_element('//input[@id="'.$id.'"]')->send_keys($value);
120
            $self->driver->find_element('//input[@id="'.$id.'"]')->send_keys($value);
121
        } elsif ( $tag eq 'select' ) {
121
        } elsif ( $tag eq 'select' ) {
122
            $self->driver->find_element('//select[@id="'.$id.'"]/option[@value="'.$value.'"]')->click;
122
            $self->driver->find_element('//select[@id="'.$id.'"]//option[@value="'.$value.'"]')->click;
123
        }
123
        }
124
    }
124
    }
125
}
125
}
126
- 

Return to bug 19185