I am trying to login to https://www.auditanalytics.com/0002/authentication.php to the website using python selenium package . When I pass the email using send keys method I am getting the following ERROR .
WebDriverException: Message: target frame detached
(Session info: MicrosoftEdge=102.0.1245.44)
I just need a solution which I can pass email id and password .
Here is my code
exe_path="msedgedriver.exe"
browser=webdriver.Edge(executable path=exe_path)
browser.get("https://www.auditanalytics.com/0002/authentication.php")
browser.switch_to.frame(browser.find_element_by_tag_name("iframe"))
username=browser.find_element_by_xpath('//*[@id="email"]')
username.send_keys("[email protected]")
password=browser.find_element_by_xpath('//*[@id="password"]')
password.send_keys("test")