Skip to content

Commit

Permalink
Update messages-sender.py
Browse files Browse the repository at this point in the history
Former-commit-id: 9a22da9
Former-commit-id: d635339
  • Loading branch information
rizwansoaib authored Feb 10, 2020
1 parent f35cbc7 commit 844d8ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Script/messages-sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def close():
sleep(2)

with open('qr.png', 'wb') as file:
file.write(driver.find_element_by_xpath('/html/body/div[1]/div/div/div[2]/div[1]/div/div[2]/div/img').screenshot_as_png)
file.write(driver.find_element_by_xpath('/html/body/div[1]/div/div/div[2]/div[1]/div/div[2]/div/canvas').screenshot_as_png)
image = Image.open('qr.png')
print("Sucessfully QR code genereted")
image.show()
Expand Down

0 comments on commit 844d8ad

Please sign in to comment.