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.

Sending Keystrokes directly to the browser

waynehazlewaynehazle Members
edited December 2013 in Sahi - Open Source
I have a checkbox control that for some reason SAHI cannot click for the life of me.
I am looking at two hack solutions:
- trying to just tab around the browser until that checkbox gets the focus and then hitting SPACE bar to check the box
- having developers put a secret keystroke, CTRL+ALT+SHIFT+F10 that will check the box

will either of these work? I hear the one issue may be that I cannot simply send keystrokes to the browser

Answers

  • Hi waynehazle,
    Can you provide the page containing the checkbox you have mentioned? I would like to see as to why it is that Sahi is unable to check or uncheck it directly.

    Yes, both of your workarounds will work using native key events in Sahi.

    Regards,
    Pratyush
Sign In or Register to comment.