From d406726818fd911fe44d8534e5c59b7155b3a0f8 Mon Sep 17 00:00:00 2001 From: Andrew Vy Date: Sun, 1 Oct 2017 09:22:49 -0700 Subject: [PATCH] :bookmark: 0.0.4 --- README.md | 24 ++++++++++++------------ mix.exs | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 62b7ee3..d5b48a0 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,18 @@ a small layer of abstraction for handling and subscribing to domain events. Note: This is a super minimal client wrapper around the Chrome Debugging Protocol. +## Installation + +Add `:chrome_remote_interface` to your `mix.exs` file! + +```elixir +def deps do + [ + {:chrome_remote_interface, "~> 0.0.4"} + ] +end +``` + ## Usage > Note: In these examples, it assumes you're already running chrome headless with remote debugging enabled. @@ -46,15 +58,3 @@ iex(5)> ChromeRemoteInterface.RPC.Page.navigate(page_pid, %{url: "https://google iex(6)> ChromeRemoteInterface.RPC.Page.printToPDF(page_pid, %{}) {:ok, %{"id" => 2, "result" => %{"data" => "JVBERi0xLj..."}}} ``` - -## Installation - -Add `:chrome_remote_interface` to your `mix.exs` file! - -```elixir -def deps do - [ - {:chrome_remote_interface, "~> 0.0.3"} - ] -end -``` diff --git a/mix.exs b/mix.exs index 5b1abb3..2298fea 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule ChromeRemoteInterface.Mixfile do def project do [ app: :chrome_remote_interface, - version: "0.0.3", + version: "0.0.4", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps(),