-
Open a browser
# start an instance of firefox with selenium-webdriver $browser_type = 'firefox' $host = 'http://localhost:4444/wd/hub'
$capabilities = array(\WebDriverCapabilityType::BROWSER_NAME => $browser_type);
#!/bin/bash | |
git config --global alias.lg \ | |
”log --color --graph \ | |
--pretty=format:’%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit” | |
git lg | |
git lg -p | |
git clone https://github.com/nerdnoir/dockerize-node.git |
self.addEventListener('notificationclick', function(event) { | |
console.log('On notification click: ', event.notification.tag); | |
// Android doesn't close the notification when you click on it | |
// See: http://crbug.com/463146 | |
event.notification.close(); | |
// This looks to see if the current is already open and | |
// focuses if it is | |
event.waitUntil( | |
clients.matchAll({ |