[1.6.x] Fixed #23744 -- Fixed typo in selenium testing example.

Thanks djbug for the report.

Backport of 6d0547c1ad from master