Skip to content

Commit

Permalink
fixed bugs after website changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Abelson committed Jul 25, 2013
1 parent db67d6b commit d12f345
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fitbite.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def order_seamless(calorie_level):
time.sleep(5)
browser.find_element_by_id('username').send_keys(SEAMLESS_EMAIL)
browser.find_element_by_id('password').send_keys(SEAMLESS_PASSWORD)
browser.find_element_by_id('corporate_member_submit').click()
time.sleep(2)
browser.find_element_by_id('submitLogin').click()
time.sleep(5)
# navigate to favorite meals
browser.find_element_by_link_text('Favorite Meals').click()
Expand Down Expand Up @@ -78,7 +79,7 @@ def order_seamless(calorie_level):
# proceed to checkout
browser.find_element_by_id('FormAction').click()
time.sleep(5)
browser.find_element_by_id('FormAction').click()
# browser.find_element_by_id('FormAction').click()

return "Check %s to see what you ordered!" % SEAMLESS_EMAIL

Expand Down
Empty file added libpeerconnection.log
Empty file.

0 comments on commit d12f345

Please sign in to comment.