WebDriver: PhantomJSDriver and save file dialog
Investigating PhantomJSDriver for c#. I've found an issue: when I am
trying to click an element which invokes file save dialog -
PhantomJSDriver throws an exception:
Error Message => 'Click succeeded but Load Failed. Status: 'fail''
caused by Request => {"headers":{"Accept":"application/json,
image/png","Connection":"Close","Content-Length":"0","Content-Type":"application/json;charset=utf-8","Host":"localhost:34660"},"httpVersion":"1.1","method":"POST","post":"","url":"/click","urlParsed":{"anchor":"","query":"","file":"click","directory":"/","path":"/click","relative":"/click","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/click","queryKey":{},"chunks":["click"]},"urlOriginal":"/session/8839b140-08d7-11e3-9482-fda3a2d41a6f/element/%3Awdc%3A1376920756991/click"}
Is there any option how PhantomJSDriver can handle files save?
No comments:
Post a Comment