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.

_keyPress is not working on Chrome

nagarnagar Members
edited November -1 in Sahi - Open Source
In my application, on a page, we have 5-6 tabs. If I press (tab No. + CTRL + SHIFT), then it opens the particular tab.

In sahi, I wrote the code line as "_keyPress(_div("mymenu_menu0_0"), "4", "CTRL+SHIFT");" to open 4th tab. It works fine in Firefox & IE. But in Chrome the same code doesn't work, nor gives any error.

My Chrome version is 15.0.

Please help in this issue.

Comments

  • Hi nagar,

    Can you share the URL or could you please point us to an application so that we can help you resolve your issue.

    Regards
    Sumitra
  • Hi Sumitra,

    soon I'll be providing you the access to application, till then please don't close this topic.


    Thanks,
    nagar
  • narayannarayan Administrators
    Hi Nagar,

    Also try
    _keyPress(_div("mymenu_menu0_0"), [52,52], "CTRL+SHIFT");

    Regards,
    Narayan
Sign In or Register to comment.