html:
<div id=“file”>
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2">
...
</object>
</div>
I've manage to click the silverlight button using following code:
f = Browser.div(:id => "file")
Browser.driver.action.move_to(f.wd).click.perform
However, when the file upload dialog opens, how can I set the file?
I'm using ChromeDriver.
According to the documentation, watir-webdriver cannot interact with silverlight objects: