Automate basic authentication
See the code below as an example:
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://web-harvest.sourceforge.net/schema/1.0/config" scriptlang="groovy">
<robotics-flow>
<robot name="webDriver" driver="internet explorer" close-on-completion="false" start-in-private="true">
<script><![CDATA[
timeouts(40 * 1000)
open('http://browserspy.dk/password.php')
$(byXpath("//*[@id='right']/div/table/tbody/tr[1]/td/a")).click();
]]></script>
</robot>
<robot name="desktopDriver" driver="desktop" close-on-completion="true">
<capability name="SEARCH_ALL_WINDOWS" value="true" />
<script><![CDATA[
window("[TITLE:Windows Security]")
sendKeys('test')
pressTab()
sendKeys('test')
pressEnter()
]]></script>
</robot>
<robot name="webDriver" driver="internet explorer" close-on-completion="true">
<script><![CDATA[
status = $(byXpath("//*[@id='right']/div/h1")).getText();
]]></script>
</robot>
</robotics-flow>
<export include-original-data="false">
<single-column name="status" value="${status.toString()}"/>
</export>
</config>