Skip to content
Get Free Trial

What is new in Sahi OS v5.0

Sahi OS v5.0 is a major release and contains many new features and bug fixes.

  • executeSahi API added to Sahi Java and Ruby drivers - calls Sahi script code from Java and Ruby drivers respectively.
  • BrowserUnresposiveException added. Earlier, when due to some reason, the connection between Sahi and the browser window was broken, the browser window would get stuck and never close. Now, in such a scenario, the browser closes after a fixed time with a BrowserUnresponsiveException.
  • An alert message comes up on starting Sahi that asks for permission for Sahi to make changes in the proxy of the browser.
  • Added ability to enable/disable traffic logs through the Sahi Dashboard.
  • Added domainfix.txt to be configurable through the configure link on the Dashboard.
  • Sahi OS version now shows up on the Sahi Console, Controller and the Dashboard.
  • Safari - Proxy is automatically set when the browser window is launched.
  • Added APIs to the Sahi notepad++ and textpad plugin.
  • Added tooltip to all the items in the controller. This will help in using the Sahi controller much better.
  • Added demo pages and scripts for the all the earlier and new APIs. This should be helpful in understand the functionality of an API better.
  • Sahi Controller modified. Several UI changes made.
  • Sahi Dashboard and start page modified. Several UI changes made.
  • Modified Sahi logs page. UI changed.
  • _isIE6 : Returns true if the current browser is Internet Explorer 6
  • _isIE7 : Returns true if the current browser is Internet Explorer 7
  • _isIE8 : Returns true if the current browser is Internet Explorer 8
  • _isIE10 : Returns true if the current browser is Internet Explorer 10
  • _isIE11 : Returns true if the current browser is Internet Explorer 11
  • _isIE11Plus : Returns true if the current browser is Internet Explorer 11 or higher
  • _fieldset : accessor to identify the fieldset type element on an HTML page.
  • _frame : accessor to identify the frame type element on an HTML page.
  • _setXHRReadyStatesToWaitFor : Sets what readyStates of an XMLHttpRequest (XHR) Sahi should wait for. Details here.
  • _font : accessor to identify the font type element on an HTML page.
  • _hr : accessor to identify the HR type element on an HTML page.
  • _getSelectionText : Returns the text selected by the user (using mouse drag, like we select before copy paste). Details here.
  • _copyFile : Copies a file from source filePath to destination filePath
  • _selectRange : Simulates selection action of particular text on the webpage based on the start and end index of the selection. Details here.
  • _selectTextRange : Simulates selection action of particular text on the webpage based on the text provided. Details here.
  • Fixed Sahi OS compatibility issues with IE10 and IE11.
  • Fixed Sahi OS compatibility issue with Firefox 20+ versions.
  • Fixed proxy not being set or reset properly on Mac and Linux OS.
  • Fixed bug in setting proxy on Opera browser.
  • Fixed bugs in recording script on firefox
  • setValue recording bug fixed on Java and Ruby recorder
  • Browsers installed in Program Files (x86) folder now show up correctly on Dashboard.
  • Dashboard ‘Bin’ link can now be seen on Mac OS too.