0

Below is my serenity.conf file and I'm facing issue when I'm trying to run the test- no element visible exception:

drivers {
 chrome_options.add_argument = "--headless;--disable-dev-shm-usage"

  windows {
    webdriver.chrome.driver = src/test/resources/webdriver/chromedriver.exe
  }
  linux {
    webdriver.chrome.driver = src/test/resources/web_driver/linux/chromedriver
  }
  timeouts {
      implicitlywait = 10000
      fluentwait = 30000
    }
}
environments {
   prod {
        webdriver.base.url = "https://www.card.ai/"
    }
    euro {
        webdriver.base.url = "https://qa.normanisoy.com/"
    }
    web {
        webdriver.base.url = "https://web.normy.com/"
    }
    webkorps {
        webdriver.base.url = "https://qa.webkorps.com/"
    }
}
webdriver {
 driver = chrome
}
headless.mode = true

serenity {
    serenity.restart.browser.for.each = never
    take.screenshots = FOR_FAILURES
}

Getting below error after execution:

org.openqa.selenium.ElementNotInteractableException: 
element not interactable

Chrome options can be defined using the chrome.switches property chrome.switches = """
--start-maximized;--test-type;--no-sandbox;--ignore-certificate-errors; --disable-popup-blocking;--disable-default-apps;
--disable-extensions-file-access-check; --incognito;--disable-infobars;--disable-gpu"""
New contributor
Rahul Pawar is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1
  • 2
    To analyse such problem, we would need to have access to the DOM and to the test code that you are running. The configuration file says nothing about the runtime. 2 days ago

0

Your Answer

Rahul Pawar is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy