code: func (remote *RemoteDebugger) NewTab(url string) (*Tab, error) {
  	path := "/json/new"
  	if url != "" {
  		path += "?" + url
  	}
  
  	resp, err := responseError(remote.http.Do(remote.http.Request("GET", path, nil, nil)))
  	if err != nil {
  		return nil, err
  	}
  
  	var tab Tab
  	if err = decode(resp, &tab); err != nil {
  		return nil, err
  	}
  
  	if err = remote.connectWs(&tab); err != nil {
  		return nil, err
  	}
  
  	return &tab, nil
  }
docs: // NewTab creates a new tab.