Skip to content

Instantly share code, notes, and snippets.

directories:
# Add the directories you want added as source here
# By default, we've added your entire workspace ('.')
.
# Automatically includes all relevant targets under the 'directories' above
derive_targets_from_directories: true
targets:
# If source code isn't resolving, add additional targets that compile it here
require "rake/task"
module Bazel
class BazelTask < Rake::Task
def needed?
true
end
def invoke(*args)
puts "Invoked!"
diff --git a/java/CHANGELOG b/java/CHANGELOG
index 0dc5ab3195..fe091b66d9 100644
--- a/java/CHANGELOG
+++ b/java/CHANGELOG
@@ -1,3 +1,14 @@
+v4.0.0.0-alpha-2
+================
+
+* Add Chromium-based Edge support. This involves adding a new Chromium driver to
+ the tree too.
public class DockerTest {
@Test
public void bootstrap() throws IOException {
HttpClient client = HttpClient.Factory.createDefault()
.createClient(new URL("http://localhost:2375"));
Docker docker = new Docker(client);
Image image = docker.findImage(
version: '3'
services:
sessions:
build:
context: .
dockerfile: Dockerfile
command: ["/selenium.jar", "sessions", "-p", "4001"]
ports:
- "4001:4001"
distributor:
function(){return function(){var k=this;function l(a){return void 0!==a}function m(a){return"string"==typeof a}function aa(a,b){a=a.split(".");var c=k;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&l(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}}
function ba(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function ca(a,b,c){return a.call.apply(a.bind,arguments)}function da(a,b,c){if(!a)throw Error();if(2<
package com.example;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import org.zeromq.ZContext;
import org.zeromq.ZMQ;
public class Sockets {
cask_args appdir: "/Applications"
tap "adoptopenjdk/openjdk", pin: true
tap "bazelbuild/tap", "https://github.com/bazelbuild/homebrew-tap", pin: true
tap "homebrew/cask"
brew "ant"
brew "git"
brew "go"
brew "gpg-agent"
@shs96c
shs96c / run.sh
Last active January 24, 2019 16:58
Build and start Grid TNG
#!/bin/bash
SE_JAR=buck-out/gen/java/server/src/org/openqa/selenium/grid/selenium.jar
SESSIONS=$(tput setaf 1)
DISTRIBUTOR=$(tput setaf 2)
ROUTER=$(tput setaf 3)
PLAIN=$(tput sgr0)
ps auxw | grep selenium.jar | grep -v grep | awk '{print $2}' | xargs kill
public interface MessageBus extends Closeable {
void addListener(Listener<? extends Event> listener);
void publish(Event event);
void close();
}