mirror of
https://github.com/bhattsameer/Bombers.git
synced 2023-08-10 21:12:53 +03:00
commit
2f6012af83
6
wbomb.py
6
wbomb.py
@ -22,11 +22,13 @@ 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!!')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user