Selenium Webdriver + PhantomJS remains at about:blank for a specific site

后端 未结 5 1488
星月不相逢
星月不相逢 2020-12-03 21:45

I am trying to use PhantomJS with Selenium Webdriver and got success but for a specific website I see that it does not navigate to the URL. I have tried it with both Python

5条回答
  •  误落风尘
    2020-12-03 22:04

    It seems I have found a solution to this. The problem was an SSL handshake problem. By passing
    '--ignore-ssl-errors=true' as a service_args to phantomjs solves the issue.

    Thanks

提交回复
热议问题