Forum Discussion

Feroz's avatar
Feroz
Occasional Contributor
7 years ago

How to write a reusable method to click a button by its properties using java script.

Hi All,

Can you please let me know how to write a reusable method for clicking a button by its name, id or path etc., So that i can reuse my methods by passing parameters for all the buttons.

 

Thanks in Advance

 

Regards,

Feroz