Skip to content

[πŸ› Bug]: Selenium headless not working with Chrome version 137.0.7151.69Β #15861

@Djoneslildaj

Description

@Djoneslildaj

Description

Hi All,

I am a novice at using selenium with python. I was using Selenium 4.33 with python 3.12.4/ I run the test cases headless in Jenkins. After the Chrome update to 137 I am now getting the following error for clicking element of all test. I am using the selenium webdriver options. This working prior to update. When test are ran without using headless test run without error.

selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted

Reproducible Code

options = webdriver.ChromeOptions()
        options.add_argument("--start-maximized")        
        options.add_argument("window-size=1920,1080")
        options.add_argument('--headless=new')
        options.add_argument('ignore-certificate-errors')
        options.add_experimental_option('excludeSwitches', ['enable-logging'])
        browser = webdriver.Chrome(options=options)
        browser.maximize_window()

Debugging Logs

selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element is not clickable at point (806, 96)
  (Session info: chrome=137.0.7151.69)

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions