What is new in Sahi Pro v9.0.2
abstract
Sahi Pro v9.0.2 is a minor update release with bugfixes and modifications predominantly related to resolve latest browser restrictions.
Some popup related scripts may not work. Please refer modifications section for more details.
Some popup related scripts may not work. Please refer modifications section for more details.
Update Instructions
warning
- For updating Sahi Pro from v9.0.1 to v9.0.2 use Update Sahi Pro web UI.
- For updating Sahi Pro from v9.0.0 to v9.0.2 please follow the below instructions.
-
On Linux OS, after upgrading through Update Sahi Pro web UI please grant permission for the 'SahiBaseDir/userdata/bin/verify_ssl_root_cert_linux.sh' file.
Eg: chmod 755 verify_ssl_root_cert_linux.sh -
On Windows OS, When using any DB apart from H2, Update feature stop working.
You need to update at least once from Sahi Pro 9.0.0 version in this manner to ensure all future updates work fine.
Resolution:
You will need to temporarily switch your database to H2 > Perform the Update and then Switch back to your current database settings. For more information about using different databases for reports please see the document for Use a Different Database in Using Sahi.
Steps:- Take a backup of your existing database. (It may be "mysql", "mssql", "postgresql", "oracle" etc.) When upgrading Sahi Pro and reverting your database back to your current one, your db will also get updated. So, in order to avoid losing any data, taking a backup is a must before proceeding to below steps.
- Switch your database settings to H2 database.
- Perform update through Update Sahi Pro web UI.
- Now Switch back to your original DB settings.
Key Features
- Added support for passing index with window identifier in Popup Windows apis to differentiate browser window if base and popup window are same.
- Support for new versions of Chrome (>83) and Firefox (>78) which have third party cookie restrictions and modified behaviour of popup windows.
Bug Fixes and Improvements
- Fixed third-party cookies being blocked when Secure and SameSite="None" attributes are not set in latest Chrome and Firefox.
- Java 12 performance issue on controller and editor are fixed.
- Fixed incorrect data is coming if blank cells are present and
getData
function is used to get data from excel(.xlsx) file. - Fixed 'Could not acquire browser instance' issue when multiple suites are trigger.
warning
If you are using Chrome version 83 and above and getting 'step did not complete in 90 sec' issue, please delete the Chrome profiles folder at SahiBaseDir/userdata/browser/chrome/profiles and restart Sahi
warning
If you are using Mac OS and Firefox, please delete the Firefox profiles folder at SahiBaseDir/userdata/browser/ff/profiles and restart Sahi
Modifications
- Sahi start pages and controller are moved to secure protocol (HTTPS) in-order to effectively manage sessions with the latest browser restrictions.
- Changed implementation for identifying popup windows because of an issue with Firefox v79 and above.
- Popup window related modification:
- Modal dialogs in IE will be identified as a popup window.
warningAdd
_selectWindow(<<Modal Title>>)
in the script before interacting with the modal window. - Cross-domain iframe in the popup window will be identified by domain & popup both. Before Sahi v9.0.2 it was identified by domain only.
warningAdd
_selectWindow(<<Popup Title>>)
with_selectDomain(<<Domain>>)
in the script before interacting with the cross-domain iframe in the popup window.
warningPlease update your scripts accordingly. - Modal dialogs in IE will be identified as a popup window.
warning
If you are using Mobile browsers and if scripts are Aborting, please configure SSL using the steps in the link.