prabinpanta0 commited on
Commit
bf2a418
1 Parent(s): 85c5f42

edited the button find

Browse files
Files changed (1) hide show
  1. form_filler.py +1 -1
form_filler.py CHANGED
@@ -64,7 +64,7 @@ class FormFiller:
64
  random.choice(options).click()
65
 
66
  # Submit the form
67
- submit = driver.find_element(By.CSS_SELECTOR, 'div[role="button"][aria-label="Submit"]')
68
  submit.click()
69
 
70
  logging.info(f"Form submitted successfully by Environment {environment_id}")
 
64
  random.choice(options).click()
65
 
66
  # Submit the form
67
+ submit = driver.find_element(By.CSS_SELECTOR, 'div[role="button"]')
68
  submit.click()
69
 
70
  logging.info(f"Form submitted successfully by Environment {environment_id}")