public function switchToNextTab($offset = 1)
    {
        $tab = $this->getRelativeTabHandle($offset);
        $this->webDriver->switchTo()->window($tab);
    }
public function switchToNextTab($offset = 1)
    {
        $tab = $this->getRelativeTabHandle($offset);
        $this->webDriver->switchTo()->window($tab);
    }
public function switchToNextTab ( $ offset = 1 ) { $ tab = $ this -> getRelativeTabHandle ( $ offset ) ; $ this -> webDriver -> switchTo ( ) -> window ( $ tab ) ; }
Switches to next browser tab.
An offset can be specified.

```php
<?php
// switch to next tab
$I->switchToNextTab();
// switch to 2nd next tab
$I->switchToNextTab(2);
```

Can't be used with PhantomJS

@param int $offset 1
Switches to next browser tab . An offset can be specified .