Probably the simplest way you can get started with Kubernetes (k8s) on a Mac (or run a local development environment) is with the single-node Kubernetes cluster built into Docker Desktop.
This is the basic gist (and why) of adding the WebDriverManager.Net Package to your C#-Selenium web browser automation project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This script builds the image with either the specified argument | |
# or default git long sha of the last commit | |
IMAGE_NAME=${IMAGE_NAME:-SET-THE-dockerid/repository-name} | |
must_be_git_repos() { | |
git rev-parse --git-dir > /dev/null 2>&1 | |
errcode=$? | |
if [ $errcode -ne 0 ]; then |
Before there was headless Chrome and Firefox, there was the PhantomJS headless browser.
With the rise of headless Chrome and Firefox and lack of active contributors, PhantomJS development has been
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
prompt-to-proceed () { | |
read -p "Do you wish to proceed (Press any key to continue or 'n' to exit)? " response | |
if [[ $response == 'n' ]] || [[ $response == 'N' ]]; then | |
echo " buh-bye" | |
echo "" | |
exit | |
fi | |
echo "" |
There are two sets of separate and independent environment variables to consider in Docker...
- Local environment variables in the shell where you are calling the docker/docker-compose commands, like your laptop, CI/CD, or production server)
- Container environment variables in your running containers
There are two basic concepts when using environment variables in Docker...
OlderNewer