18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

ie try to download css file from cdn

tower120tower120 Members
edited April 2011 in Sahi - Open Source
Hi!

Under IE 8 sahi try to download css file from cdn.
Under FF I do not see this problem.

Can I somehow, somewhere add my cdn to excludes, or something like that?

That's what I got:
http://img12.imageshack.us/img12/2632/screenclip1.png

Comments

  • For those who face this problem also, you should update your IE to the last version. In my case that was IE 8 under Windows Server 2008.
  • narayannarayan Administrators
    Another simpler solution is to add the css to sahi/userdata/config/exclude_inject.txt file and restart Sahi.
  • I tried to add cdn.* to exclude_inject.txt - but that didn't help me. Problem was not in Sahi, but in IE. It was not work even when sahi was not started.
  • narayannarayan Administrators
    Thanks for the clarification. If the same happens without Sahi too, then yes you cannot control it with exclude_inject. The real reason for it is mostly that the Content-Type header in the response from your cdn is incorrect, and the browser treats it as a downloadable file.

    Regards,
    Narayan
Sign In or Register to comment.