when running code with headed, its working fine, but with headless{chrome} fails and I get error the element not found using XPATH .
TimeoutError: Waiting for element to be located By(xpath, /html/body/div[5]/ul/li/div[2]) Wait timed out after 30003ms
But it finds it with headed. any suggestions, limitation ?