When I am trying to automate my edge browser using selenium, in code I didn't mentioned about the close keyword but my browser is running very fast and closing automatically. What could be the solution for this ?
This is my simple code
from selenium import webdriver
from selenium.webdriver.edge.service import Service
from selenium.webdriver.common.by import By
service_object = Service("C:\\Users\\piyus\\OneDrive\\Documents\\drivers\\edge\\msedgedriver.exe")
driver = webdriver.Edge(service= service_object)
driver.maximize_window()
driver.get("https://rahulshettyacademy.com/angularpractice/")
driver.find_element(By.NAME, "email").send_keys("hello@gmail.com")
driver.find_element(By.ID, "exampleInputPassword1").send_keys("1234@Vivo")
driver.find_element(By.ID, "exampleCheck1").click()
I tried with wait keyword but that is not working for me
I want the browser should not close automatically or should not close without my instructions