brew update
brew install pyenv
This file contains 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
### Locating UI elements ### | |
# By ID | |
<div id="coolestWidgetEvah">...</div> | |
element = driver.find_element_by_id("coolestWidgetEvah") | |
or | |
from selenium.webdriver.common.by import By | |
element = driver.find_element(by=By.ID, value="coolestWidgetEvah") | |
# By class name: |
This file contains 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
import MySQLdb | |
## | |
# @author Jay Taylor [@jtaylor] | |
# @date 2010-11-15 | |
# | |
# @description This is a basic database helper script which will setup the connection. | |
# | |
# @requirements The MySQLdb package must be installed, i.e. `sudo easy_install MySQLdb` | |
# |
This file contains 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
from selenium.webdriver import Firefox | |
import pytest | |
class TestHighcharts(object): | |
@pytest.fixture(autouse=True) | |
def fixture(self, request): | |
request.instance.driver = Firefox() | |
request.instance.driver.get("http://localhost:9000") | |
def cleanup(): | |
request.instance.driver.quit() |
1 - Install Virtualbox
sudo apt install virtualbox-qt
2 - Install Minikube
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.18.0/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
3 - Install kubectl