How to switch the focus of the driver to the next tab of the Browser?

How to switch the focus of the driver to the next tab of the Browser?

Hey Rebecca,

You can switch the focus of the driver to the next tab of the browser by using any function, like:

driver.switchTo()