original_string: protected function getSessionId(Session $session)
  	{
  		$driver = $session->getDriver();
  
  		if ( $driver instanceof Selenium2Driver ) {
  			return $driver->getWebDriverSessionId();
  		}
  
  		throw new \RuntimeException('Unsupported session driver');
  	}
code: protected function getSessionId(Session $session)
  	{
  		$driver = $session->getDriver();
  
  		if ( $driver instanceof Selenium2Driver ) {
  			return $driver->getWebDriverSessionId();
  		}
  
  		throw new \RuntimeException('Unsupported session driver');
  	}
code_tokens: protected function getSessionId ( Session $ session ) { $ driver = $ session -> getDriver ( ) ; if ( $ driver instanceof Selenium2Driver ) { return $ driver -> getWebDriverSessionId ( ) ; } throw new \ RuntimeException ( 'Unsupported session driver' ) ; }
docstring: Get Selenium2 current session id.
  
  @param Session $session Session.
  
  @return string
  @throws \RuntimeException When session was created using an unsupported driver.
docstring_tokens: Get Selenium2 current session id .