mirror of
https://github.com/bhattsameer/Bombers.git
synced 2023-08-10 21:12:53 +03:00
Updated Classname
Updated the classname of message and send button in wbomb.py file
This commit is contained in:
parent
8ff5e68ad7
commit
54e5c645b9
10
wbomb.py
10
wbomb.py
@ -21,14 +21,16 @@ def main():
|
|||||||
|
|
||||||
user = driver.find_element_by_xpath('//span[@title = "{}"]'.format(name))
|
user = driver.find_element_by_xpath('//span[@title = "{}"]'.format(name))
|
||||||
user.click()
|
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):
|
for i in range(count):
|
||||||
msg_box.send_keys(msg)
|
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()
|
button.click()
|
||||||
print('Bombing Complete!!')
|
print('Bombing Complete!!')
|
||||||
|
|
||||||
banner()
|
banner()
|
||||||
main()
|
main()
|
||||||
|
Loading…
Reference in New Issue
Block a user