TT#68016 selenium: another "crash on select list elements" workaround

controller_header.t:
- select value by opening up element list with move_and_click() first,
then select the actual element

Change-Id: Ib7d5d4bd7cf7a793f00877176f7b2b0746c85d97
(cherry picked from commit 2a38a14086)
changes/41/35341/1
Nico Schedel 6 years ago
parent c8c58f37c1
commit 32020dd648

@ -111,6 +111,7 @@ $d->find_element('//*[@id="priority"]')->click();
sleep 1;
$d->fill_element('//*[@id="priority"]', 'xpath', '1');
$d->fill_element('//*[@id="name"]', 'xpath', $headerrule);
$d->move_and_click('//*[@id="direction"]', 'xpath', '//*[@id="mod_edit"]/div/h3[contains(text(), "Edit Header Rules")]');
$d->find_element('//*[@id="direction"]/option[@value="outbound"]')->click();
$d->fill_element('//*[@id="description"]', 'xpath', 'this is a very nice description');
$d->select_if_unselected('//*[@id="stopper"]');

Loading…
Cancel
Save