I want to count the row of an HTML table on the webpage. Then My target is- I will loop each row of that table in the next steps.
Please see below the Edge console snapshot, This is giving me the output. Like- TableBody Row is 2.

My PAD steps are as below. The output variable after running JaveScript will be shown in messageBox. But this is not giving any results.

JavaScript to count HTML table Row
@abm Hello, I am your YouTube fan. Need your kind help.