sukgu / shadow-automation-selenium

This project focuses on automation of multi-level shadow root dom using java selenium. You can embed this plugin in your java selenium project.

Home Page:https://search.maven.org/artifact/io.github.sukgu/automation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting NoSuchElementException when trying to run on linux remote instance via jenkins

Dashanan1 opened this issue · comments

Describe the bug
When i try to run the same code using Local machine(Mac+GoogleChrome(103.0.5060.114) do not gets any error but when trying to run using pipeline jenkins project with linux instance and chrome version - 100.0.4896.75 (os.name: 'Linux', os.arch: 'amd64', os.version: '5.10.68-62.173.amzn2.x86_64', java.version: '1.8.0_121') getting "NoElementFound" despite waiting long as explicit wait.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

It should not be a problem as our plugin test cases run on Linux machines always.
I would recommend it to run in headless mode or with Xvfb setup.

Are you getting errors with shadow objects only? @Dashanan1
Did you try manually on linux machine?