diff --git a/_project_starter_/selenium/backgroundcolor.py b/_project_starter_/selenium/backgroundcolor.py index eca07e9..487ccb5 100644 --- a/_project_starter_/selenium/backgroundcolor.py +++ b/_project_starter_/selenium/backgroundcolor.py @@ -17,7 +17,7 @@ driver = webdriver.Chrome(service=service, options=chrome_options) driver.get('http://127.0.0.1:5500/_project_starter_/') # Find the element you want to check the background color for -element = driver.find_element(By.TAG_NAME, 'body') # Replace with your element's ID or any other locator +element = driver.find_element(By.TAG_NAME, 'body') # Get the CSS value for the 'background-color' property of the element background_color = element.value_of_css_property('background-color')