Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,866
Community Members
 
Community Events
184
Community Groups

How to call chrome by bamboo with selenium web driver?

Hi,

I'm using Bamboo to trigger the automation test execution but get a Chrome failed to start error:

error_message": "unknown error: Chrome failed to start: exited abnormally
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) (Selenium::WebDriver::Error::UnknownError)
#0 0x7f3030ace959 <unknown>

But the same command (below) can be executed successfully from Konsole window:

cucumber BROWSER=chrome MODE=local --tags=@test

The automation framework is cucumber+selenium+ruby

Linux version 3.10.0-514.16.1.el7.x86_64

Chrome version is the latest 77.0.3865.40

Chrome driver version(not sure but get it by the official suggestion which is from https://chromedriver.storage.googleapis.com/index.html?path=77.0.3865.40/

 

Could anybody kindly help please?

Thanks very much indeed.

Best Regards,

Ivy

3 answers

Hi Im having the same issue, has someone ever resolved this ? Thanks.

Hi guys,

 

I was having the same issue with Cucumber - Selenium - Ruby when we made the switch from Jenkins to Bamboo. I managed to fix it by doing the following:

 

args= %w[--headless --no-sandbox]
driver = Selenium::WebDriver.for :chrome, args: args

I'm pretty sure you could remove the --headless param and the solution will still work. It seems the --no-sandbox is the essential one to fix it.

 

Let me know if it works for you.

 

Thanks,

Dan

Hi Dan,

 

Where do we add this below code to run as non headless mode ?

args= %w[--headless --no-sandbox]
driver = Selenium::WebDriver.for :chrome, args: args

Hi,

 

I am also having the same issue. Were you ever able to resolve this? Everything I've found online and tried has not worked.

Thanks

Steve

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events