title: Selenium scraping: changing timezone
body: <p>The website I run my headless (PhantomJS) browser through Selenium has different timezone so I get the wrong dates for many entries. Thus my scraped results show the wrong dates/times (i'm in EST, looks like website default is GMT).</p>
  
  <p>I'm scraping from <a href="http://www.oddsportal.com/hockey/usa/nhl/results/" rel="nofollow noreferrer">this</a> website. You can get an idea of how i'm scraping dates through a previous question on SO <a href="https://stackoverflow.com/questions/35261899/selenium-scraping-with-multiple-urls">here</a>. Note however i'm not currently scraping the times of games so i'd prefer not to incorporate this in a solution.</p>
  
  <p>The same question is asked <a href="https://stackoverflow.com/questions/28708615/wrong-date-associated-with-early-morning-times-scraped-from-weather-website-pyt">here</a> but I don't know how to test the 'obvious' solution of checking to see what time the website is defaulting to. I suppose one would request a time from the client and add/subtract hours from my current time? Can someone please tell me how to do that and/or if there's a better way.</p>
  
  <p>Edit: what I want is to change the website scraped data from the default (GMT) to my time (EST). This will avoid having to mess with adding hours; the dates will reflect what they are for me.</p>
  
  <p>Here's as far as i've gotten:</p>
  
  <pre><code>from selenium import webdriver
  from selenium.webdriver.support.ui import WebDriverWait
  #from selenium.webdriver.support.select import Select
  
  driver = webdriver.PhantomJS(executable_path=r'C:/phantomjs.exe')
  driver.get('http://www.oddsportal.com/hockey/usa/nhl/results/')
  
  zoneDropDownID = "timezone-content"
  
  driver.implicitly_wait(5)
  zoneDropDownElement = WebDriverWait(driver, 10).until(lambda driver: driver.find_element_by_id(zoneDropDownID))
  # Select(zoneDropDownID).select_by_visible_text("Eastern") # strobject has no attribute
  test = zoneDropDownID.select_by_visible_text("Eastern").click() # TimeOut exception - not found
  
  driver.close()
  </code></pre>
  
  <p>But I can't get it to click. Should I be searching for a class instead?</p>