SAP / devops-docker-node-browsers

Dockerfile for an image with node and web browsers. This image is intended to be used for end-to-end tests of web applications in Jenkins pipelines.
Apache License 2.0
7 stars 6 forks source link

ppiper/node-browsers not working for msedge #40

Open kundarsowjanya opened 1 year ago

kundarsowjanya commented 1 year ago

Hi,

I'm using ppiper/node-browsers to run my Webdriverio testcase in jenkins. looks like it's not working for Msedge and getting error like this Message: unknown error: unrecognized MSEdge version: HeadlessChrome/109.0.5414.119

And also for firefox, browser is not able to find element

10:06:47  [0-0]   message: 'Unable to locate element: //*[@id="j_username"]',
10:06:47  [0-0]   stacktrace: 'WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:186:5\n' +
10:06:47  [0-0]     'NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.jsm:398:5\n' +
10:06:47  [0-0]     'element.find/</<@chrome://remote/content/marionette/element.js:300:16\n'

is it because of certificate issue in firefox?

Is there any particular version need to be use?

Can anyone suggest please?