Parcourir la source

création fct go_to_checkout

Gogs il y a 1 an
Parent
commit
73eb356d2a
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      test_main.py

+ 6 - 0
test_main.py

@@ -35,6 +35,12 @@ def connexion_saucedemo(username, passwd, arg="--headless"):
 
 
 ##### MATTHIEU
+    
+def go_to_checkout():
+    checkout = driver.find_element(By.ID, "checkout")
+    checkout.click()
+
+