Even though i have written this code
from selenium import webdriver
driver=webdriver.Chrome()
driver.get(“https://opensource-demo.orangehrmlive.com/web/index.php/auth/login”) driver.find_element(“username”).send_keys(“Admin”)
driver.find_element(“password”).send_keys(“admin123”)
driver.find_element(“submit”).click()
act_title = driver.title
exp_title = “OrangeHRM”
if act_title==exp_title:
print(“login test Passed”)
else:
print(“login test Failed”)
driver.close()
can like please anybody mentor me/help me/guide me or tell me, because i am learning QA automation from scratch and trying to have a job in automation
I was learning the automation testing and its 1st step i was learning from one of the video
now the issue I am facing is
–> even though the tutorial is of selenium 3 and i am doing selenium 4 so theer might be some difference
when i am trying to open the link via automation — its is just buffering and not opening the page it should open
and second how the browser dont close automatically