title: PhantomJS can't load correctly web page
body: <p>I'm currently trying to scrape a web page with PhantomJS and Selenium (python 2.7.9 on Windows 7) but PhantomJS fail to load correctly the web page. If I use Firefox as webdriver I have no problem to see the page as I want. 
  At first I thought it was a javascript problem (page-side) since with save_screenshot I could see what normally the page shows when javascript is disabled, but if I disable javascript the page show me correctly that "Javascript must be enabled", so it is not a js problem. Maybe some delay would help? I've also tried to put a time.sleep(up to 180 sec) but nothing.
  Source code is below.</p>
  
  <p>Any suggestion?</p>
  
  <pre><code>from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  from selenium.webdriver.common.by import By
  from selenium.webdriver.firefox.options import Options
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.support import expected_conditions as EC
  
  
  
  import time
  
  
  
  cap = webdriver.DesiredCapabilities.PHANTOMJS
  cap["phantomjs.page.settings.javascriptEnabled"] = True
  #options = Options()
  #options.headless = True
  timeout = 30
  
  driver = webdriver.PhantomJS(service_args=['--ignore-ssl-errors=true', '--ssl-protocol=tslv1.0'])
  
  driver.set_window_size(1024, 768)
  driver.implicitly_wait(60)
  #WebDriverWait(driver, 10).until(lambda driver: driver.execute_script('return document.readyState') == 'complete')
  #executable_path="C:\\userdata\\giom\\Py_exercises\\phantomjs-2.1.1-windows\\bin\\phantomjs.exe"
  driver.get("https://account.booking.com/register?op_token=EgVvYXV0aCJ7ChQ2Wjcyb0hPZDM2Tm43emszcGlyaBIJYXV0aG9yaXplGhpodHRwczovL2FkbWluLmJvb2tpbmcuY29tLyo2eyJwYWdlIjoiL3JlZGlyZWN0LXRvLWpvaW5hcHAtbHA_bGFuZz1pdCZhaWQ9MTE4NzM2MCJ9QgRjb2RlKg4QAToAQgBY5dGK8gVgAQ")
  #driver.get('https://join.booking.com/category/index.html?label=continue&amp;token=36094c4799610d5826138ec328f43b044b027cbb')
  #result_loading = driver.onLoadFinished()
  #print result_loading
  
  
  
  html = driver.page_source
  #print html.encode("utf-8")
  
  
  
  driver.save_screenshot("C:\userdata\giom\Py_exercises\sample.png")
  
  driver.close() 
  
  #driver.find_element(By.XPATH, "//div[@id='root']")
  #driver.find_element_by_xpath("//input[@id='login_name_register']")
  </code></pre>