Skip to content

Commit

Permalink
Added additional code to go to the desired form
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterChief220 committed Nov 10, 2023
1 parent a245a1a commit 58f3836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
driver.implicitly_wait(3)

text_box = driver.find_element(by=By.NAME, value="login")
text_box.send_keys("mbassam.mts42ceme") # Enter your login id
text_box.send_keys("") # Enter your login id
text_box = driver.find_element(by=By.NAME, value="password")
text_box.send_keys("BK@nust#123") # Enter your password
text_box.send_keys("") # Enter your password
login_button = driver.find_element(By.CSS_SELECTOR, "button.btn.btn-nust.btn-block.py-3.mt-4") # Adjust the CSS selector to match the HTML attribute of the login button
login_button.click()
print(driver.current_url)
Expand Down

0 comments on commit 58f3836

Please sign in to comment.