1

Using selenium through python on AWS Linux server, when the test start it doesn't load the page, the strange thing is if I try to run a test using a url from google or facebook the test works, I used curl and links commands to see if I have access from the server and they work so not sure what could be the issue.

Any help is appreciated.

user964503
  • 91
  • 1
  • 13
  • What is different about those urls? If they are behind a proxy, this defect might be related. https://stackoverflow.com/questions/7347494/selenium-webdriver-geturl-does-not-open-the-url – Dan Csharpster Dec 21 '20 at 20:01
  • @user964503 What error do you see? – undetected Selenium Dec 21 '20 at 21:32
  • no error is shown @DebanjanB but I'm taking screenshots and seeing that webpage doesn't load , like I said if I try a different site(like google, facebook, etc.) the screenshot is showing the page so doesn't seem a problem with selenium. – user964503 Dec 21 '20 at 22:09
  • Found the reason of this issue, it seems a bad configuration with chrome and chromedriver, I installed https://github.com/SeleniumHQ/docker-selenium , it's a docker image that contains all the dependencies that selenium requires and I was able to run successfully the tests for the URLs , I'm just curious why I was able to run tests for specific URLs but not for the ones I wanted with my selenium/chrome configuration. – user964503 Dec 22 '20 at 06:20

0 Answers0