The following code is supposed to print the contents of this page.
from selenium import webdriver
driver = webdriver.PhantomJS()
link = u'https://scholar.google.co.il/scholar?q=The+Trellis+Security+Infrastructure:+{A}+Layered+Approach+to+Overlay+Metacomputers'
driver.get(link)
print driver.page_source
However, all it prints is:
<html><head></head><body></body></html>
If I use webdriver.Firefox()
instead of webdriver.PhantomJS()
, it works. I know that PhantomJS
is properly installed, since the above code used to work just fine. What could this mean?