Improve TradingView layout loading with better debugging and selection logic
- Added comprehensive layout menu item detection with multiple selectors - Implemented debug screenshots for layout menu and after layout changes - Added better error handling and logging for layout selection - Improved text matching with exact and partial match strategies - Added fallback comprehensive search with direct click functionality - Fixed TypeScript issues with element handle clicking
This commit is contained in:
@@ -40,6 +40,7 @@ export async function POST(req: NextRequest) {
|
||||
|
||||
return NextResponse.json({
|
||||
...result,
|
||||
layoutsAnalyzed: finalLayouts,
|
||||
settings: {
|
||||
symbol: finalSymbol,
|
||||
timeframe: finalTimeframe,
|
||||
|
||||
Reference in New Issue
Block a user