Pre-Owned 2025 Mercedes-Benz AMG® G 63

  • VIN: W1NWH5AB5SX023566
  • Stock: ZS06489A
Location: Tallahassee, FL
This vehicle is available for transfer from another Hendrick Automotive Group dealership. Transfer costs vary by vehicle location and are not included in the published price. Please contact the dealership for more information.
Hendrick Transfer
carfax_one_owner

Basic Info

  • Exterior:
    Beige
  • Drivetrain:
    AWD 4MATIC
  • Interior:
    Black
  • Transmission:
    9-Speed Automatic w/OD
  • Engine:
    Twin Turbo Gas/Electric V-8 4.0 L/243
  • Fuel Efficiency:
    14 CITY / 16 HWY
  • Mileage:
    16,901

Key Features

  • AWD
  • Adaptive Cruise Control
  • Android Auto
  • Apple CarPlay
  • Backup Camera
  • Blind Spot Monitor
  • Bluetooth
  • Distronic
  • Fog Lights
  • Heated Seats
  • Interior Accents
  • Keyless Entry
  • Lane Departure Warning
  • Leather Seats
  • Navigation System
  • Parking Sensors / Assist
  • Parktronic
  • Power Seats
  • Push Start
  • Rain Sensing Wipers
  • Rear A/C
  • Satellite Radio Ready
  • Side-Impact Air Bags
  • Sunroof / Moonroof
  • Tow Package
  • WiFi Hotspot

Description

This vehicle is available for transfer from another Hendrick Automotive Group dealership. All vehicles may not be physically located at this dealership but may be available for delivery through this location. Transportation charges may apply. Please contact the dealership for more specific information. All vehicles are subject to prior sale. Pricing may not include dealer installed accessories or upfits.

Vehicle Details

Exterior

  • Aluminum Spare Wheel
  • Auto On/Off Projector Beam Led Low/High Beam Auto-Leveling Directionally Adaptive Auto High-Beam Daytime Running Lights Preference Setting Headlamps w/Washer and Delay-Off
  • Black Bodyside Moldings, Black Bodyside Insert and Body-Colored Fender Flares
  • Black Door Handles
  • Black Side Windows Trim and Black Front Windshield Trim
  • Body-Colored Front Bumper w/Chrome Bumper Insert, 1 Tow Hook and Stainless Steel Brush Guard
  • Body-Colored Power Heated Side Mirrors w/Driver Auto Dimming, Power Folding and Turn Signal Indicator
  • Body-Colored Rear Step Bumper w/Chrome Bumper Insert and 1 Tow Hook
  • Chrome Grille
  • Cornering Lights
  • Deep Tinted Glass
  • Fixed Rear Window w/Wiper and Defroster
  • Front Windshield -inc: Electrically Heated Glass
  • Full-Size Spare Tire Mounted Outside Rear
  • Galvanized Steel/Aluminum Panels
  • Headlights-Automatic Highbeams
  • Laminated Glass
  • LED Brakelights
  • Perimeter/Approach Lights
  • Power 1-Touch Sliding And Tilting Glass 1st Row Sunroof w/Sunshade
  • Rain Detecting Variable Intermittent Wipers w/Heated Jets And Reservoir
  • Rear Fog Lamps
  • Running Boards/Side Steps
  • Swing-Out Rear Cargo Access
  • Tailgate/Rear Door Lock Included w/Power Door Locks
  • Tires: 275/50R20
  • Wheels: 20 AMG 10-Spoke Alloy

Interior

  • 10-Way Driver Seat
  • 10-Way Passenger Seat
  • 18 Speakers
  • 2 Monitors In The Front
  • 2 Seatback Storage Pockets
  • 3 12V DC Power Outlets
  • 3 12V DC Power Outlets and 1 Interior 120V AC Power Outlet
  • 60-40 Folding Split-Bench Front Facing Manual Reclining Flip Forward Cushion/Seatback Rear Seat
  • Active Distance Assist DISTRONIC
  • Air Filtration
  • AMG Performance Sport Heated Nappa Leather Steering Wheel w/EASY ENTRY/EXIT Auto Tilt-Away
  • Android Auto
  • Apple CarPlay
  • Ashtray
  • Bluetooth Wireless Phone Connectivity
  • Burmester 3D Surround Sound System
  • Cargo Space Lights
  • Compass
  • Cruise Control w/Steering Wheel Controls
  • Day-Night Auto-Dimming Rearview Mirror
  • Delayed Accessory Power
  • Digital/Analog Appearance
  • Driver / Passenger And Rear Door Bins
  • Driver And Passenger Visor Vanity Mirrors w/Driver And Passenger Illumination
  • Driver Foot Rest
  • Driver Information Center
  • FOB Controls -inc: Keyfob Window Activation and Keyfob Sunroof/Convertible Roof Activation
  • Front And Rear Map Lights
  • Front Center Armrest and Rear Center Armrest w/Pass-Thru
  • Front Cigar Lighter(s)
  • Full Carpet Floor Covering -inc: Carpet Front And Rear Floor Mats
  • Full Floor Console w/Covered Storage, Mini Overhead Console w/Storage, 3 12V DC Power Outlets and 1 Interior 120V AC Power Outlet
  • Full Microfiber Simulated Suede Headliner
  • Gauges -inc: Speedometer, Odometer, Engine Coolant Temp, Tachometer, Inclinometer, Altimeter, Turbo/Supercharger Boost, Oil Level, Oil Temperature, Transmission Fluid Temp, Power/Regen, Trip Odometer and Trip Computer
  • Graphic Equalizer
  • Heated Front Seats -inc: 12-way power front seats w/memory function
  • Heated/Cooled Front Cupholder
  • HomeLink Garage Door Transmitter
  • HVAC -inc: Underseat Ducts, Residual Heat Recirculation, Headliner/Pillar Ducts and Console Ducts
  • Illuminated Locking Glove Box
  • Immobilizer
  • Integrated Navigation System w/Voice Activation
  • Interior Trim -inc: Piano Black/Metal-Look Interior Accents and Nappa Leather Upholstered Dashboard
  • Leather Door Trim Insert
  • Memory Settings -inc: Driver And Passenger Seats, Door Mirrors, Steering Wheel and Head Restraints
  • Mercedes Me Connect (1 Year Included) Real-Time Traffic Display
  • Mercedes me connect (1 year included) Tracker System
  • Mercedes me In-car WiFi (1-month/1 GB trial included) Mobile Hotspot Internet Access
  • Nappa Leather Trim
  • Outside Temp Gauge
  • Power 1st Row Windows w/Front And Rear 1-Touch Up/Down
  • Power Door Locks w/Autolock Feature
  • Power Fuel Flap Locking Type
  • Power Rear Windows and Fixed 3rd Row Windows
  • Power Tilt/Telescoping Steering Column
  • Power w/Tilt Front Head Restraints and Manual Adjustable Rear Head Restraints
  • Proximity Key For Doors And Push Button Start
  • Radio w/Seek-Scan, Clock, Speed Compensated Volume Control, Steering Wheel Controls, Radio Data System, External Memory Control and Internal Memory
  • Radio: NTG 7 MBUX Multimedia System -inc: 12.3 media display and Dolby Atmos
  • Rear Carpet Floor Trim
  • Rear Climate Controls w/Rear Controls
  • Rear Cupholder
  • Redundant Digital Speedometer
  • Remote Keyless Entry w/Integrated Key Transmitter, 4 Door Curb/Courtesy, Illuminated Entry and Panic Button
  • Roll-Up Cargo Cover
  • Security System w/Video/Image Recording
  • SiriusXM Radio -inc: 6-month all-access trial
  • Smart Device Remote Engine Start
  • Streaming Audio
  • Trip Computer
  • Turn-By-Turn Navigation Directions
  • Urethane Gear Shifter Material
  • Voice Activated Dual Zone Front Automatic Air Conditioning
  • Window Grid Diversity Antenna

Entertainment

  • 18 Speakers
  • Graphic Equalizer
  • Streaming Audio
  • Window Grid Diversity Antenna
  • Burmester 3D Surround Sound System
  • Bluetooth Wireless Phone Connectivity
  • 2 LCD Monitors In The Front
  • Turn-By-Turn Navigation Directions
  • Mercedes Me Connect (1 Year Included) Real-Time Traffic Display

Mechanical

  • 2 Skid Plates
  • 26.4 Gal. Fuel Tank
  • 7054# Gvwr 1235# Maximum Payload
  • Battery w/Run Down Protection
  • Class IV Towing Equipment -inc: Hitch and Trailer Sway Control
  • Double Wishbone Front Suspension w/Coil Springs
  • Driver Selectable Front Locking Differential
  • Driver Selectable Rear Locking Differential
  • Driver Selectable Ride Control Sport Tuned Adaptive Suspension
  • Dual Stainless Steel Exhaust w/Chrome Tailpipe Finisher
  • Electric Power-Assist Speed-Sensing Steering
  • Electronic Transfer Case
  • Engine Auto Stop-Start Feature
  • Engine Oil Cooler
  • Engine: 4.0L AMG V8 biturbo -inc: 48V mild hybrid system
  • Front And Rear Anti-Roll Bars
  • Full-Time All-Wheel Drive
  • Gas-Pressurized Shock Absorbers
  • Hybrid Starter Generator
  • Lithium Ion (li-Ion) Traction Battery
  • Permanent Locking Hubs
  • Regenerative 4-Wheel Disc Brakes w/4-Wheel ABS, Front And Rear Vented Discs, Brake Assist, Hill Hold Control and Electric Parking Brake
  • Solid Axle Rear Suspension w/Coil Springs
  • Trailer Wiring Harness
  • Transmission w/Driver Selectable Mode
  • Transmission: AMG SPEEDSHIFT TCT 9G
  • Full-Time All-Wheel

Safety

  • ABS And Driveline Traction Control
  • Active Brake Assist with Autonomous Emergency Braking
  • Active Lane Keeping Assist Lane Departure Warning
  • Active Lane Keeping Assist Lane Keeping Assist
  • Active Steering Assist
  • Aerial View Camera System
  • Airbag Occupancy Sensor
  • Back-Up Camera w/Washer
  • Blind Spot Assist Blind Spot Warning
  • Child Seat Sensor and Rear Child Safety Locks
  • Collision Mitigation-Front
  • Curtain 1st And 2nd Row Airbags
  • Driver And Passenger Knee Airbag and Rear Side-Impact Airbag
  • Driver Monitoring-Alert
  • Dual Stage Driver And Passenger Front Airbags
  • Dual Stage Driver And Passenger Seat-Mounted Side Airbags
  • Electronic Stability Control (ESC) And Roll Stability Control (RSC)
  • Front Camera
  • Left Side Camera
  • Mercedes-Benz Emergency Call Service Emergency Sos Capability
  • Outboard Front Lap And Shoulder Safety Belts -inc: Rear Center 3 Point, Height Adjusters and Pretensioners
  • PARKTRONIC w/Active Parking Assist Front And Rear Parking Sensors
  • Rear Cross-Traffic Alert
  • Right Side Camera
  • Side Impact Beams
  • Tire Specific Low Tire Pressure Warning
  • Blind Spot Assist Blind Spot

Tech Specs

  • Vehicle Name: Mercedes-Benz G-Class
  • Body Style: Sport Utility
  • Body Code: S
  • Drivetrain: All Wheel Drive
  • Passenger Capacity: 5
  • Base Curb Weight: 5842
  • EPA Greenhouse Gas Score: 2.0
  • Gross Vehicle Weight Rating Cap: 7054
  • Fuel Economy Est-Combined: 15
  • EPA Fuel Economy Est - City: 14
  • EPA Fuel Economy Est - Hwy: 16
  • Dead Weight Hitch - Max Trailer Wt.: 5000
  • Dead Weight Hitch - Max Tongue Wt.: 500
  • Wt Distributing Hitch - Max Trailer Wt.: 7000
  • Wt Distributing Hitch - Max Tongue Wt.: 700
  • Maximum Trailering Capacity: 7000
  • Engine Order Code:
  • Engine Type: Twin Turbo Gas/Electric V-8
  • Displacement: 4.0 L/243
  • Fuel System: Direct Injection
  • SAE Net Horsepower @ RPM: 577 @ 6000
  • SAE Net Torque @ RPM: 627 @ 2500
  • Trans Order Code:
  • Trans Type: 9
  • Trans Description Cont.: Automatic w/OD
  • Trans Description Cont. Again:
  • First Gear Ratio (:1): 5.35
  • Second Gear Ratio (:1): 3.24
  • Third Gear Ratio (:1): 2.25
  • Fourth Gear Ratio (:1): 1.64
  • Fifth Gear Ratio (:1): 1.21
  • Sixth Gear Ratio (:1): 1.00
  • Reverse Ratio (:1): 4.80
  • Trans PTO Access: No
  • Transfer Case Model: Electronic
  • Transfer Case Power Take Off: No
  • Tons/yr of CO2 Emissions @ 15K mi/year: 10.1
  • Engine Oil Cooler: Yes
  • Suspension Type - Front: Double Wishbone
  • Suspension Type - Rear: Trailing Link
  • Axle Type - Front: Independent
  • Axle Type - Rear: Rigid Axle
  • Front Tire Order Code:
  • Rear Tire Order Code:
  • Spare Tire Order Code:
  • Front Tire Size: P275/50VR20
  • Rear Tire Size: P275/50VR20
  • Spare Tire Size: Full-Size
  • Front Wheel Size: 20 X 9.5
  • Rear Wheel Size: 20 X 9.5
  • Spare Wheel Size: Full-Size
  • Front Wheel Material: Aluminum
  • Rear Wheel Material: Aluminum
  • Spare Wheel Material: Aluminum
  • Steering Type: Rack-Pinion
  • Turning Diameter - Curb to Curb: 44.3
  • Brake Type: 4-Wheel Disc
  • Brake ABS System: 4-Wheel
  • Brake ABS System (Second Line): 4-Wheel
  • Disc - Front (Yes or ): Yes
  • Disc - Rear (Yes or ): Yes
  • Front Brake Rotor Diam x Thickness: 14.8
  • Rear Brake Rotor Diam x Thickness: 13
  • Drum - Rear (Yes or ):
  • Rear Drum Diam x Width:
  • Fuel Tank Capacity, Approx: 26.4
  • Front Head Room: 41.9
  • Front Leg Room: 38.7
  • Front Shoulder Room: 57.8
  • Front Hip Room: 56.9
  • Second Head Room: 40.5
  • Second Leg Room: 39.5
  • Second Shoulder Room: 57.4
  • Second Hip Room: 57.2
  • Wheelbase: 113.8
  • Length, Overall: 191.9
  • Width, Max w/o mirrors: 78.1
  • Height, Overall: 77.9
  • Track Width, Front: 65.1
  • Track Width, Rear: 65.1
  • Min Ground Clearance: 9.6
  • Cargo Area Length @ Floor to Seat 1: 68.5
  • Cargo Area Length @ Floor to Seat 2: 29.8
  • Cargo Box (Area) Height: 44.3
  • Liftover Height: 29.7
  • Cargo Volume to Seat 2: 22.6
  • Seventh Gear Ratio (:1): 0.86
  • Eighth Gear Ratio (:1): 0.72
  • Model Group: G-Class
  • Vehicle Segment: Intermediate Luxury Sport Utility
  • Vehicle Type: Sport Utility
  • Engine Displacement Units: 4.0
  • Engine Camshaft: DOHC
  • Engine Block Type: aluminum
  • Engine Cylinder Count: 8
  • Engine Valve Count: 4
  • Country of Origin: Germany Multipurpose passenger vehicle

Details

  • 4-Wheel Disc Brakes
  • 8 Cylinder Engine
  • ABS
  • Active Suspension
  • Adaptive Cruise Control
  • Adjustable Steering Wheel
  • Automatic Full-Time 4MATIC® All Wheel Drive
  • AM/FM Stereo
  • Apple CarPlay
  • Auto-Dimming Rearview Mirror
  • Automatic Headlights
  • Auxiliary Audio Input
  • Back-Up Camera
  • Blind Spot Monitor
  • Brake Assist
  • Bucket Seats
  • Child Safety Locks
  • Conventional Spare Tire
  • Cross-Traffic Alert
  • Cruise Control
  • Daytime Running Lights
  • Driver Adjustable Lumbar
  • Driver Air Bag
  • Driver Illuminated Vanity Mirror
  • Driver Vanity Mirror
  • Engine Immobilizer
  • Fixed Bench Seat
  • Floor Mats
  • Front Head Air Bag
  • Headlights-Auto-Leveling
  • Heated Mirrors
  • Heated Seats
  • Heated Steering Wheel
  • Integrated Turn Signal Mirrors
  • Intermittent Wipers
  • Keyless Entry
  • Keyless Start
  • Lane Keeping Assist
  • Leather Seats
  • Leather Steering Wheel
  • Locking/Limited Slip Differential
  • Mirror Memory
  • MP3 Player
  • Multi-Zone A/C
  • Navigation System
  • Pass-Through Rear Seat
  • Passenger Adjustable Lumbar
  • Passenger Air Bag
  • Passenger Illuminated Visor Mirror
  • Passenger Vanity Mirror
  • Power Door Locks
  • Power Driver Seat
  • Power Mirror(s)
  • Power Passenger Seat
  • Power Steering
  • Power Windows
  • Premium Sound
  • Privacy Glass
  • Rain Sensing Wipers
  • Rear A/C
  • Rear Defrost
  • Rear Head Air Bag
  • Rear Side Air Bag
  • Running Boards/Side Steps
  • Satellite Radio
  • Seat Memory
  • Smart Device Integration
  • Split Bench Seat
  • Stability Control
  • Steering Wheel Audio Controls
  • Sunroof / Moonroof
  • Telematics
  • Tire Pressure Monitor
  • Tires - Front Performance
  • Tires - Rear Performance
  • Tow Hitch
  • Tow Hooks
  • Transmission w/Dual Shift Mode
  • Trip Computer
  • Turbo/Supercharged
  • Universal Garage Door Opener
  • Variable Speed Intermittent Wipers
  • WiFi Hotspot
  • AMG PERFORMANCE NAPPA/MICROFIBER STEERING WHEEL
  • AMG NIGHT PACKAGE PLUS -inc: AMG Night Package (P56) Brush Guard in Black Underguard in Obsidian Black Exterior Mirrors Painted in Obsidian Black Spare Wheel Cover in Obsidian Black trim bumper elements Mercedes-Benz Star in Black MANUFAKTUR Black Running Boards Exterior Lettering in Black AMG-Specific Exhaust System in Black Wheel Arches & Bumpers in Black
  • WHEELS: 22 AMG MATTE BLACK CROSS-SPOKE FORGED -inc: Tires: 295/40R22
  • Front Side Air Bag
  • Climate Control
  • A/C
  • Security System
  • All Wheel Drive
  • Turbocharged
  • Sun/Moonroof
  • Traction Control
  • Aluminum Wheels
  • A/T
  • Generic Sun/Moonroof
  • Premium Sound System
  • MP3 Capability
  • Heated Front Seat(s)
  • Immobilizer
  • Rear Parking Aid
  • Bluetooth Connection
  • Cargo Shade
  • Power Folding Mirrors
  • HD Radio
  • Hard Disk Drive Media Storage
  • Rear Bench Seat
  • Passenger Air Bag Sensor
  • Lane Departure Warning
  • Knee Air Bag
  • Automatic Parking
  • 9-Speed A/T
  • Aerial View Display System
  • Front Collision Mitigation
  • Automatic Highbeams
  • LED Headlights
  • Requires Subscription
  • Cruise Control Steering Assist
  • Driver Monitoring
  • Rear Collision Mitigation
  • Gasoline/Mild Electric Hybrid
  • Lithium Ion Traction Battery

Why Rick Hendrick Buick GMC Richmond

We have been your hometown Buick, GMC dealership for more than 50 years! We promise to provide you with outstanding service, value, satisfaction and an unsurpassed inventory of automobiles. We practice a no-pressure, high integrity approach to sales that makes your car buying experience a stress-free process. We’re proud to be in Richmond and are ready to help you drive away in your new car. So take a look at our inventory or shoot us a call to schedule your next service appointment.

Hendrick Vehicle Disclaimer:
$899 Dealer Processing Fee included in advertised price.

All prices exclude all taxes, tag, title, registration fees, government fees and electronic filing fee. Out of state buyers are responsible for all taxes and government fees and title/registration fees in the state where the vehicle will be registered. All prices include all manufacturer to dealer incentives, which the dealer retains unless otherwise specifically provided. Dealer not responsible for errors and omissions; all offers subject to change without notice; please confirm listings with dealer.

All vehicles may not be physically located at this dealership but may be available for delivery through this location. Transportation charges may apply. Please contact the dealership for more specific information. All vehicles are subject to prior sale.

Additional Disclaimers:


Well-qualified customers who purchase a new, used, or certified pre-owned vehicle, 4 model years or newer with less than 60K miles between September 1, 2026 and November 2, 2026, and finance through a participating dealer and lender have the option to defer monthly payments for 120 days from contract date. Excludes Hendrick Performance vehicles. Finance charges begin to accrue on the date you sign the Retail Installment Sale Contract at the Annual Percentage Rate (APR) disclosed in the contract. May not be combined with other preferred lender financing offers. 75 months maximum term limit. Equal monthly payments only. Not available to Pennsylvania residents; see your dealer for details. Must take retail delivery by November 2, 2026. See dealer for complete down payment and interest rate options and details. Financing available to qualified buyers. Some exclusions apply. See dealer for complete details. 

*Offer includes all dealer discounts and OEM incentives. Offer does not include tax, tag, title, fees, and other dealer installed options. Discount varies by model and stock number. Example stock #T29262. See dealer for details. Take retail delivery by 11/2/26. **Monthly payment is $16.67 for every $1,000 you finance. Average example down payment is 10.3%. Must finance through GM Financial. Some customers may not qualify. Not available with lease and some other offers. Take new retail delivery by 11/2/26. ***Deferred monthly payments for 92 days. Must finance with GM Financial. Some customers may not qualify. Down payment required at signing, if applicable. Finance charges accrue from date of financing. Not available with lease and some other offers. Take new retail delivery by 11/2/26.

*Offer includes all dealer discounts and OEM incentives. Offer does not include tax, tag, title, fees, and other dealer installed options. Discount varies by model and stock number. Example stock #DT29389. See dealer for details. Take retail delivery by 11/2/26. **Monthly payment is $17.48 for every $1,000 you finance. Average example down payment is 17.6%. Must finance through GM Financial. Some customers may not qualify. Not available with lease and some other offers. Take new retail delivery by 11/2/26. ***Deferred monthly payments for 92 days. Excludes residents of PA. Must finance with GM Financial. Some customers may not qualify. Down payment required at signing, if applicable. Finance charges accrue from date of financing. Not available with lease and some other offers. Take new retail delivery by 11/2/26.

*Offer includes all dealer discounts and OEM incentives. Offer does not include tax, tag, title, fees, and other dealer installed options. Discount varies by model and stock number. Example stock #T29262. See dealer for details. Take retail delivery by 11/2/26. **Monthly payment is $16.67 for every $1,000 you finance. Average example down payment is 10.3%. Must finance through GM Financial. Some customers may not qualify. Not available with lease and some other offers. Take new retail delivery by 11/2/26. ***Deferred monthly payments for 92 days. Must finance with GM Financial. Some customers may not qualify. Down payment required at signing, if applicable. Finance charges accrue from date of financing. Not available with lease and some other offers. Take new retail delivery by 11/2/26.

Connect With Us

Menu

Get Directions

12050 W Broad St, Richmond, VA, 23233
Rick Hendrick Buick GMC Richmond 37.6588, -77.6309.
window.addEventListener("load", function () { // Add "openXtime" class to buttons with Schedule Service text or href ending var links = Array.from(document.querySelectorAll('a')).filter(function(link) { return link.href.endsWith("/schedule-service/") || link.textContent.toLowerCase().includes("schedule service"); }); links.forEach(function(link) { link.classList.add("openXtime"); link.addEventListener("click", function(event) { event.preventDefault(); if (window.xtime && typeof window.xtime.showC8Modal === "function") { window.xtime.showC8Modal(true); } }); }); // Check for URL parameter or path to auto-open service modal function checkAndOpenServiceModal() { var shouldOpen = false; var urlParams = new URLSearchParams(window.location.search); var intsrc = urlParams.get('intsrc'); var currentPath = window.location.pathname; // Check if URL parameter is present if (intsrc === 'tcom:maps:dealervisit:service') { shouldOpen = true; } // OR check if we're on the schedule-service page else if (currentPath.includes('/schedule-service/') || currentPath.includes('/service/schedule-service/')) { shouldOpen = true; } if (shouldOpen) { // Function to attempt opening the modal function attemptOpenModal() { if (window.xtime && typeof window.xtime.showC8Modal === "function") { window.xtime.showC8Modal(true); return true; // Successfully opened } return false; // xtime not ready yet } // Try immediately if (attemptOpenModal()) { return; // Success! } // If not ready, set up retry mechanism var attempts = 0; var maxAttempts = 50; // Try for up to 5 seconds (50 * 100ms) var retryInterval = setInterval(function() { attempts++; if (attemptOpenModal() || attempts >= maxAttempts) { clearInterval(retryInterval); } }, 100); } } // Check URL parameter/path on page load checkAndOpenServiceModal(); });