Python Forum
Selenium cant get xpaths/load url - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: Selenium cant get xpaths/load url (/thread-25433.html)



Selenium cant get xpaths/load url - draw134 - Mar-30-2020

I want to deploy my python script in ubuntu server and call it via cron. In my local windows machine. I tried headless and it is working perfectly fine, i can even took screenshot in it. But in the server I tried to put it there and run the script, it does some error like the element cannot be find. I tried doing headless and non headless by using xvfb in ubuntu server. Still seems not working.

Full question can be found here
https://stackoverflow.com/questions/60926834/selenium-cant-get-element-by-xpath-in-headless-mode-ubuntu-18-04


RE: Selenium cant get xpaths/load url - Larz60+ - Mar-30-2020

To get help the quickest, it's best to post your code here.
Many won't go chasing links.


RE: Selenium cant get xpaths/load url - draw134 - Mar-30-2020

Cant edit the post anymore sir