18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Error: The parameter passed to _click was not found on the browser
Hi Sahi Forum,
I have a sahi script that clicks on a "Sign in" button and submits the information.
I found several links on the forum about this error, but they did not lead to a specific answer about this error. I'm using this code: _click(_submit("Sign in")); and I get this error: Error: The parameter passed to _click was not found on the browser . This is strange because the submit element is present on the page.
You can find the example here:
http://highschoolsports-stage.masslive.com/game/score/1645771/
Click on the "Sign in" link above the search box (top left location), and a module popover will appear. You can see the orange "sign-in" button at the bottom. I"m not sure why this error is occurring when the element is on the webpage.
I have a sahi script that clicks on a "Sign in" button and submits the information.
I found several links on the forum about this error, but they did not lead to a specific answer about this error. I'm using this code: _click(_submit("Sign in")); and I get this error: Error: The parameter passed to _click was not found on the browser . This is strange because the submit element is present on the page.
You can find the example here:
http://highschoolsports-stage.masslive.com/game/score/1645771/
Click on the "Sign in" link above the search box (top left location), and a module popover will appear. You can see the orange "sign-in" button at the bottom. I"m not sure why this error is occurring when the element is on the webpage.
Best Answer
-
Hi Leoa,
Please try with the below script,
_navigateTo("http://highschoolsports-stage.masslive.com"
;
_assert(_isVisible(_link("Sign in")));
_click(_link("Sign in"));
_assertExists(_submit("Sign In", _near(_label("Remember me"))));
_click(_submit("Sign In", _near(_label("Remember me"))));
Good Luck !!
Answers