mirror of
https://github.com/bhattsameer/Bombers.git
synced 2023-08-10 21:12:53 +03:00
Add files via upload
This commit is contained in:
parent
dbd36a7cf8
commit
d1a5d4caa9
34
wbomb.py
Normal file
34
wbomb.py
Normal file
@ -0,0 +1,34 @@
|
||||
|
||||
from selenium import webdriver
|
||||
import os
|
||||
def banner():
|
||||
print('''
|
||||
## ## ======= #### #### #### =======
|
||||
\ \ #### / / # # ## ## / /\ \ / /\ \ # #
|
||||
\ \ / /\ \ / / #====== ## ## / / \ \/ / \ \ #======
|
||||
\ \/ / \ \/ / # # ## ## / / #### \ \ # #
|
||||
#### #### ======= #### ## ## =======
|
||||
''')
|
||||
def main():
|
||||
driver = webdriver.Chrome()
|
||||
driver.get('https://web.whatsapp.com/')
|
||||
|
||||
name = input('Enter the name of user or group: ')
|
||||
msg = input('Enter your message: ')
|
||||
count = int(input('Enter the count: '))
|
||||
|
||||
input('Enter any key after scanning QR code')
|
||||
|
||||
user = driver.find_element_by_xpath('//span[@title = "{}"]'.format(name))
|
||||
user.click()
|
||||
|
||||
msg_box = driver.find_element_by_class_name('_2bXVy')
|
||||
|
||||
for i in range(count):
|
||||
msg_box.send_keys(msg)
|
||||
button = driver.find_element_by_class_name('_2lkdt')
|
||||
button.click()
|
||||
print('Bombing Complete!!')
|
||||
|
||||
banner()
|
||||
main()
|
Loading…
Reference in New Issue
Block a user