BitBucket Pipelines - Selenium

Is it possible to execute Selenium in a BitBucket Pipeline for automated functional testing. I'm not sure if this is possible and if it is how a browser is called from a docker image? or do we have to integrate with another system from pipeline such as Browserstack?

 

Thank You,

2 answers

1 vote

Hey @ismail,

It's absolutely possible to run Selenium inside Bitbucket Pipelines, in fact we test bitbucket pipelines itself in this way. I would consider this an advanced setup however and we haven't put together many great resource to help everyone through it.

For the best experience however I would recommend using one of our partners like Browserstack; they even have a repo ready to go https://bitbucket.org/browserstack/bitbucket-pipelines

 

cheers,

Seb

executing the functional tests in a docker container where the selenium server runs should work in the pipeline without any problems. Did you try out this approach already?

0 vote

This article may also help users attempting to run Selenium tests in Pipelines without an external service like Browserstack: https://medium.com/@yiquanzhou/run-selenium-ui-tests-in-docker-container-78be98e1b52d

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

24,006 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you