Skip to content

Commit

Permalink
Added all files
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivamRawat0l committed Sep 15, 2018
1 parent 8b00357 commit 50a0312
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
Binary file added chromedriver
Binary file not shown.
4 changes: 4 additions & 0 deletions debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[0721/201914.804:ERROR:process_reader_win.cc(123)] NtOpenThread: {Access Denied} A process has requested access to an object, but has not been granted those access rights. (0xc0000022)
[0721/201914.814:ERROR:exception_snapshot_win.cc(88)] thread ID 14992 not found in process
[0721/201914.977:ERROR:process_reader_win.cc(123)] NtOpenThread: {Access Denied} A process has requested access to an object, but has not been granted those access rights. (0xc0000022)
[0721/201914.977:ERROR:exception_snapshot_win.cc(88)] thread ID 13024 not found in process
19 changes: 19 additions & 0 deletions type.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import pyautogui as gui
from selenium import webdriver
from bs4 import BeautifulSoup
import time
driver = webdriver.Chrome(executable_path=r'C:\New Folder\chromedriver.exe')
driver.get('https://www.typingbolt.com/')
time.sleep(1)
https=driver.page_source
soup= BeautifulSoup(https,'html.parser')
a=soup.find('ul',{'id':'characters'})
b=list(a.text)
print(b)
gui.moveTo(280,393)
gui.click()
for i in b:
if(i=='\xa0'):
i=' '
gui.press(i)

19 changes: 19 additions & 0 deletions type_linux.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import pyautogui as gui
from selenium import webdriver
from bs4 import BeautifulSoup
import time
driver = webdriver.Chrome("/media/cheatcode/0E2286E45B543E69/Projects/Python/Python/Typingbolt/chromedriver")
driver.get('https://www.typingbolt.com/')
time.sleep(1)
https=driver.page_source
soup= BeautifulSoup(https,'html.parser')
a=soup.find('ul',{'id':'characters'})
b=list(a.text)
print(b)
gui.moveTo(280,393)
gui.click()
for i in b:
if(i=='\xa0'):
i=' '
gui.press(i)

0 comments on commit 50a0312

Please sign in to comment.