<td>//div[@data-gadget-scope=\'m\']//li[@class=\'ui-first-child\']//a[text()=\'Title 2 (Foo)\' and contains(@href, \'#!display\') and contains(@href, \'n.jio_key=foo_module%2F2\')]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForElementPresent</td>\n
<td>//div[@data-gadget-scope=\'m\']//a[text()=\'Title 1 (Foo)\' and contains(@href, \'#!display\') and contains(@href, \'n.jio_key=foo_module%2F1\')]</td>\n
<td></td>\n
</tr>\n
\n
<!-- Click on second one to change the order -->\n
<tr>\n
<td>click</td>\n
<td>//div[@data-gadget-scope=\'m\']//a[text()=\'Title 1 (Foo)\' and contains(@href, \'#!display\') and contains(@href, \'n.jio_key=foo_module%2F1\')]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForElementPresent</td>\n
<td>//div[@data-gadget-scope=\'header\']//a[text()=\'Back\' and contains(@href, \'#!history_previous\')]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>click</td>\n
<td>//div[@data-gadget-scope=\'header\']//a[text()=\'Back\' and contains(@href, \'#!history_previous\')]</td>\n
<td>//div[@data-gadget-scope=\'m\']//li[@class=\'ui-first-child\']//a[text()=\'Title 1 (Foo)\' and contains(@href, \'#!display\') and contains(@href, \'n.jio_key=foo_module%2F1\')]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>waitForElementPresent</td>\n
<td>//div[@data-gadget-scope=\'m\']//a[text()=\'Title 2 (Foo)\' and contains(@href, \'#!display\') and contains(@href, \'n.jio_key=foo_module%2F2\')]</td>\n