1. Address the review comments by passing options, {focus: true} to
swithToFrame.
2. Add tests.