code: func (p *WebPage) Settings() (WebPageSettings, error) {
  	var resp struct {
  		Settings webPageSettingsJSON `json:"settings"`
  	}
  	if err := p.ref.process.doJSON("POST", "/webpage/Settings", map[string]interface{}{"ref": p.ref.id}, &resp); err != nil {
  		return WebPageSettings{}, err
  	}
  	return WebPageSettings{
  		JavascriptEnabled:             resp.Settings.JavascriptEnabled,
  		LoadImages:                    resp.Settings.LoadImages,
  		LocalToRemoteURLAccessEnabled: resp.Settings.LocalToRemoteURLAccessEnabled,
  		UserAgent:                     resp.Settings.UserAgent,
  		Username:                      resp.Settings.Username,
  		Password:                      resp.Settings.Password,
  		XSSAuditingEnabled:            resp.Settings.XSSAuditingEnabled,
  		WebSecurityEnabled:            resp.Settings.WebSecurityEnabled,
  		ResourceTimeout:               time.Duration(resp.Settings.ResourceTimeout) * time.Millisecond,
  	}, nil
  }
docs: // Settings returns the settings used on the web page.