const { enhancedScreenshotService } = require('./lib/enhanced-screenshot')

async function testEnhancedScreenshot() {
  try {
    console.log('🚀 Testing Enhanced Screenshot Service')
    
    const config = {
      symbol: 'SOLUSD',
      timeframe: '240',
      layouts: ['ai', 'diy']
    }
    
    console.log('Configuration:', config)
    
    const screenshots = await enhancedScreenshotService.captureWithLogin(config)
    
    console.log('✅ Success! Screenshots:', screenshots)
    
  } catch (error) {
    console.error('❌ Error:', error.message)
  }
}

testEnhancedScreenshot()
