Look at the example code again. The array of browsers is defined outside of run_tests(), not inside.
In reply to Re^3: shift method by GotToBTru in thread shift method by Chaoui05