Skip to content

Commit

Permalink
Update partner-monitor.py
Browse files Browse the repository at this point in the history
Former-commit-id: a8722d4
Former-commit-id: 3b66572
  • Loading branch information
rizwansoaib authored Feb 10, 2020
1 parent 08bea71 commit 5f8c779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Script/partner-monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
driver = webdriver.Firefox(options=options)
driver.get("http://web.whatsapp.com")
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)

name1=input("Please Enter First Person Name : ")
name2=input("Please Enter Second Person Name : ")
Expand Down

0 comments on commit 5f8c779

Please sign in to comment.