python switch_to now an object that is recommended

Fixes Issue #7294