Skip to content

Commit

Permalink
Merge pull request #395 from Hari-Nagarajan/hotfix
Browse files Browse the repository at this point in the history
Added screenshot to force browser back into frame to work around sele…
  • Loading branch information
DakkJaniels authored Dec 6, 2020
2 parents 7699fcd + 38d76bd commit 09a333b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions stores/amazon.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,10 @@ def handle_home_page(self):
def handle_cart(self):
self.start_time_atc = time.time()
log.info("clicking checkout.")
try:
self.save_screenshot("ptc-page")
except:
pass
try:
self.driver.find_element_by_xpath('//*[@id="hlb-ptc-btn-native"]').click()
except exceptions.NoSuchElementException:
Expand Down
2 changes: 1 addition & 1 deletion utils/discord_presence.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
pass

start_time = time.time()
version = "0.4.2"
version = "0.4.3"


def start_presence(status):
Expand Down

0 comments on commit 09a333b

Please sign in to comment.