![]() browser_types.xml userdata.properties exclude_inject.txt download_urls.txt download_contenttypes.txt block_ssl_domains.txt browser_types.xmlbrowser_types.xml configures the various browsers that Sahi can use. Note that browser options for various browsers are different and it is advisable to use the defaults provided and only change the paths where needed.userdata.propertiesSahi can be configured using two files:
It is recommended to modify/add properties to userdata.properties. Every property in sahi.properties can be overridden in userdata.properties exclude_inject.txtSahi controls the browser by injecting javascript into web pages. However there are various requests like XMLHttpRequests, javascript, css, etc. where Sahi should not inject its code. While this is correctly detected and handled in most cases, there are instances where one may need to explicitly ask Sahi not to inject code. In such instances, patterns can be added to exclude_inject.txt. When a URL matches this pattern, Sahi will NOT inject its code.download_urls.txtSahi automatically downloads and saves files into sahi/usedata/temp/downloads directory. If Sahi is unable to detect a request as a download, you can force it to download the file by adding URL patterns to this file.download_contenttypes.txtSahi automatically downloads and saves files into sahi/usedata/temp/downloads directory. If Sahi is unable to detect a request as a download, you can force it to download the file by adding relevant content-types to this file.block_ssl_domains.txtIf a domain is added here, any HTTPS calls to this domain will return a 404 error. Browsers like firefox make HTTPS requests to addons.mozilla.org and sb-ssl.google.com which can hang playback. Adding these domains to block_ssl_domains.txt will prevent hangs. Your configuration has been saved. Please restart Sahi
|
|