Skip to content

Commit

Permalink
update the code based on headless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
md-sikder committed Nov 17, 2024
1 parent 8689089 commit 96c371e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def test_login():
chrome_options.add_argument("--window-size=1920x1080") # Optional: Set window size

driver = webdriver.Chrome(options=chrome_options)

driver.get("https://rahulshettyacademy.com/loginpagePractise/")
# Locate elements and perform actions
driver.find_element(By.ID, "username").send_keys("rahulshettyacademy")
Expand All @@ -29,7 +28,6 @@ def test_login():

driver.quit()


# def test_login():
# driver = webdriver.Chrome()
# driver.maximize_window()
Expand Down

0 comments on commit 96c371e

Please sign in to comment.