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
6
wbomb.py
6
wbomb.py
@ -22,11 +22,13 @@ 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!!')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user