May 17, 2026, 11:40 PM
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
from selenium import webdriver
|
||||
|
||||
USERNAME = 'pawel.domanski@outlook.com'
|
||||
PASSWORD = 'sisuCeqExO'
|
||||
|
||||
driver = webdriver.Chrome('chromedriver.exe')
|
||||
driver.get('https://edu.gotoit.pl/wp-login.php')
|
||||
|
||||
user_input = driver.find_element_by_id('user_login')
|
||||
user_input.send_keys(USERNAME)
|
||||
|
||||
password_input = driver.find_element_by_id('user_pass')
|
||||
password_input.send_keys(PASSWORD)
|
||||
|
||||
login_button = driver.find_element_by_id('wp-submit')
|
||||
login_button.click()
|
||||
Reference in New Issue
Block a user