Merge pull request #13 from arsh939/master

Updated Classnames
This commit is contained in:
Sameer Bhatt (debugger) 2019-11-28 20:57:37 +05:30 committed by GitHub
commit 2f6012af83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,14 +21,16 @@ def main():
user = driver.find_element_by_xpath('//span[@title = "{}"]'.format(name))
user.click()
msg_box = driver.find_element_by_class_name('_2bXVy')
# The classname of message box may vary.
msg_box = driver.find_element_by_class_name('_13mgZ')
for i in range(count):
msg_box.send_keys(msg)
button = driver.find_element_by_class_name('_2lkdt')
# The classname of send button may vary.
button = driver.find_element_by_class_name('_3M-N-')
button.click()
print('Bombing Complete!!')
banner()
main()
main()