#!/usr/bin/env python3
"""Test zero-context methods availability"""

from cutysoup import CutySoup

# Simple test
html = '<html><body><a href="/test">Test</a></body></html>'
soup = CutySoup(html)

print("Available methods:")
methods = [attr for attr in dir(soup) if 'get_all' in attr or 'count_' in attr]
print(methods)

# Try to access one
try:
    result = soup.get_all_hrefs()
    print(f"Success: get_all_hrefs() returned {result}")
except Exception as e:
    print(f"Error: {e}")
    
# Check if it's available on the underlying node
try:
    print(f"Type of soup: {type(soup)}")
    print(f"Has get_all_hrefs: {hasattr(soup, 'get_all_hrefs')}")
except Exception as e:
    print(f"Error checking attributes: {e}")