Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Building Selenium w/ EngFlow Remote Execution

This directory contains almost everything needed to get started building the open-source Selenium project on an EngFlow Remote Execution cluster. In addition to the files and documentation here, you also need to run your own cluster or obtain access to an existing cluster.

Below, we use name@example.com.crt and name@example.com.key as the client cert and key for TLS client authentication. Other methods may apply depending on the cluster configuration.

$ git clone https://github.com/SeleniumHQ/selenium.git selenium
$ cd selenium
$ curl https://raw.githubusercontent.com/EngFlow/example/main/engflow-ca.crt > engflow-ca.crt
$ curl https://raw.githubusercontent.com/EngFlow/example/main/docs/selenium/bazelrc >> .bazelrc.local
$ curl https://raw.githubusercontent.com/EngFlow/example/main/docs/selenium/WORKSPACE >> WORKSPACE
$ echo "build:engflow --tls_client_certificate=name@example.com.crt" >> .bazelrc.local
$ echo "build:engflow --tls_client_key=name@example.com.key" >> .bazelrc.local
$ bazel build --config=engflow //java/... //py/... //deploys/...

Known Issues

  1. The Python parts of Selenium require a locally installed dataclasses module, which is not in the image we use here.

  2. Some actions require more than 1 GB of inputs, and the default cluster configuration has a 1 GB limit.