by default phantomjs use SSLv3, but many sites after bug in ssl migrate to tls. That’s why you has blank page.
use service_args=['--ignore-ssl-errors=true', '--ssl-protocol=any']
browser = webdriver.PhantomJS('phantomjs-1.9.7-windows\phantomjs.exe', service_args=['--ignore-ssl-errors=true', '--ssl-protocol=any'])
More Related Contents:
- Open web in new tab Selenium + Python
- How to properly stop phantomjs execution
- PhantomJS with Selenium error: Message: ‘phantomjs’ executable needs to be in PATH
- How to sleep Selenium WebDriver in Python for milliseconds
- selenium.common.exceptions.WebDriverException: Message: ‘chromedriver’ executable needs to be in PATH error with Headless Chrome
- Wait until page is loaded with Selenium WebDriver for Python
- How to use Chrome Profile in Selenium Webdriver Python 3
- Running Selenium Webdriver with a proxy in Python
- How to connect to Tor browser using Python
- How can I download a file on a click event using selenium?
- How to upload file ( picture ) with selenium, python
- InvalidArgumentException: Message: invalid argument: user data directory is already in use error using –user-data-dir to start Chrome using Selenium
- Selenium not able to click on Get Data button on using Python
- selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities with Firefox 46 through Selenium
- Turning off logging in Selenium (from Python)
- urllib3.exceptions.ProtocolError: (‘Connection aborted.’, error(10054, ‘An existing connection was forcibly closed by the remote host’))
- Python/Selenium incognito/private mode
- passing selenium response url to scrapy
- DeprecationWarning: use options instead of chrome_options error using ChromeDriver and Chrome through Selenium on Windows 10 system
- Selenium Python: How to web scrape the element text
- Open tor browser with selenium
- Python Selenium – get href value
- Selenium on MAC, Message: ‘chromedriver’ executable may have wrong permissions
- Undetected Chromedriver not loading correctly
- Selecting a value from a drop-down option using selenium python
- How to solve ‘Getting Default Adapter failed’ error when launching Chrome and try to access a webpage using the ChromeDriver using Selenium
- selenium two xpath tests in one
- Selenium webdriver: How do I find ALL of an element’s attributes?
- Chrome browser initiated through ChromeDriver gets detected
- Selenium Webdriver + PhantomJS remains at about:blank for a specific site