that's the line of the code where am getting the error
self.driver.find_element_by_xpath("//*[@id="loginForm"]/div/div[3]/button/div").click()
that's the line of the code where am getting the error
self.driver.find_element_by_xpath("//*[@id="loginForm"]/div/div[3]/button/div").click()
Please try this
self.driver.find_element_by_xpath("//*[@id='loginForm']/div/div[3]/button/div").click()