| Post Reply | RetroFed Forum Forum Index » Selenium Web Browser Automation |
| Author | Message | ||
|---|---|---|---|
|
lenartgolob
lemmy.world
lenartgolob@lemmy.world Joined: 2024-02-10 |
I'm experiencing an issue with my web scraper running on a Linux server where it fails to locate elements using Selenium WebDriver. The scraper works perfectly fine on my local machine, but when I run it on the Linux server, it throws a NoSuchElementException. The error message I receive is:
I've tried using WebDriverWait to wait for the table to load, but it doesn't seem to be working. Additionally, I've logged the page source on the Linux server and compared it to my local machine, and I've noticed significant differences in the HTML structure. I am using a custom user-agent to prevent differences, but that hasn't resolved the issue. I'm not sure what else to try to resolve this issue. Here's a snippet of my code:
|
||
| 1 Original | |||
| Post Reply |
Back to top |