func (p *Page) CloseWindow() error {
	if err := p.session.DeleteWindow(); err != nil {
		return fmt.Errorf("failed to close active window: %s", err)
	}
	return nil
}
func (p *Page) CloseWindow() error {
	if err := p.session.DeleteWindow(); err != nil {
		return fmt.Errorf("failed to close active window: %s", err)
	}
	return nil
}
func ( p * Page ) CloseWindow ( ) error { if err := p . session . DeleteWindow ( ) ; err != nil { return fmt . Errorf ( " " , err ) } return nil }
// CloseWindow closes the active window.
CloseWindow closes the active window .