Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Running Selenium in Cloud Build

Hi, Google Cloud Community.

I'm wondering if running a Selenium (webdriver) is possible in Cloud Build? Our team is planning to setup a CICD pipeline to run nightly automated tests / jobs.

What I found online were mostly materials for Jenkins. 

 

Thank you.

0 1 4,502
1 REPLY 1

Hi @cypher115,

Welcome to the Google Cloud Community!

Yes, It is possible to run Selenium in Cloud Build.

You can run Selenium tests with Google Cloud CL by integrating a Github Repository. Here, you will make use of the LambdaTest Google Cloud CI repository on Github. You will then set this up with Cloud Build in your console. You can read more in this documentation.

Another way to run Selenium in Cloud Build is by using Docker. Here you will be needing Selenium hub, Selenium node, and your tests. Read this documentation to learn more. 

Let me know if it helped, thanks!