(Oct-26-2016, 11:41 PM)Larz60+ Wrote: Now you can play around with it as much as you like without reloading each time.Little on wrong track here Lars60+,
You can also load the html file into an editor so you can manually search for variables.
Not an immediate fix for your problem, but perhaps will help with debugging
because this site use JavaScript heavily and he shall also push a button(which load ouical.js).
The problem is that urllib(or Requests as you should have used) can not get this info.
Quote: It was still showing the daily page as if the button was never clicked on.FireFox web driver has a click() method,but when you load page trough PhantomJS(has no click() method) has to use other tool.
jQuery selector can be used and execute bye PhantomJS.
You can try this.
#weeklyView = driver.find_element_by_xpath('//*[@class="btn btn-default webinar-hover dfx-has-spinner hidden-xs"]') #weeklyView.click() driver.execute_script("$('#calendarbody > div:nth-child(12) > div.col-sm-2.calendar-home-weekly > button').click()")Your indention is wrong in last two lines but this i guess is a copy fault.
The default path that 3.5 use is horrible,i would choose C:\Python35 so same as i had for 10-year ago C:\Python25