Skip to content

Commit 7689627

Browse files
authored
re-add chromedriver (#15)
1 parent eac2b74 commit 7689627

File tree

5 files changed

+67
-2
lines changed

5 files changed

+67
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ showcase some of the features of using Robot Framework interactively.
7676
- `JupyterLibrary` for testing Jupyter clients with robotframework
7777
- `SeleniumLibrary` for controlling browsers
7878
- `geckodriver` for interacting with Mozilla Firefox
79-
- `python-chromedriver-binary` for interacting with Chromium and Google Chrome
79+
- `chromedriver` for interacting with Chromium and Google Chrome
8080
- > it's pretty easy to [get `webdriver`][webdriver] for Microsoft Edge, but
8181
can't be redistributed
8282
- `opencv` for image-driven testing

ci/steps.common.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ steps:
88
- script: >
99
python -m scripts.build conda
1010
pyshortcuts
11+
chromedriver
1112
jsonpointer
1213
rfc3987
1314
jsonpath-ng

constructor/construct.yaml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ specs:
1717
- opencv
1818
- pyshortcuts
1919
- python >={{ py_min }},<{{ py_max }}
20-
- python-chromedriver-binary =={{ cd_version }}
20+
- chromedriver =={{ cd_version }}
2121
- restinstance
2222
- robotframework =={{ rf_version }}
2323
- robotframework-jupyterlibrary

recipes/chromedriver/BSD-3-Clause.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// Copyright 2015 The Chromium Authors. All rights reserved.
2+
//
3+
// Redistribution and use in source and binary forms, with or without
4+
// modification, are permitted provided that the following conditions are
5+
// met:
6+
//
7+
// * Redistributions of source code must retain the above copyright
8+
// notice, this list of conditions and the following disclaimer.
9+
// * Redistributions in binary form must reproduce the above
10+
// copyright notice, this list of conditions and the following disclaimer
11+
// in the documentation and/or other materials provided with the
12+
// distribution.
13+
// * Neither the name of Google Inc. nor the names of its
14+
// contributors may be used to endorse or promote products derived from
15+
// this software without specific prior written permission.
16+
//
17+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18+
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19+
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20+
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21+
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22+
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23+
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24+
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25+
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

recipes/chromedriver/meta.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
package:
2+
name: {% set name = "chromedriver" %}{{ name }}
3+
version: {% set version = "2.45" %}{{ version }}
4+
5+
source:
6+
url: https://{{ name }}.storage.googleapis.com/{{ version }}/{{ name }}_linux64.zip # [linux]
7+
sha256: d4a5eec0a3b7fec9bcb71353233dde38630e51b29fa7b218cdd196e2e4487da7 # [linux]
8+
9+
url: https://{{ name }}.storage.googleapis.com/{{ version }}/{{ name }}_mac64.zip # [osx]
10+
sha256: aa0f416a48e20185da62525869c1f98f994bf99f241d6ce2eb1af6ceb517c425 # [osx]
11+
12+
url: https://{{ name }}.storage.googleapis.com/{{ version }}/{{ name }}_win32.zip # [win]
13+
sha256: 8f3373a260a524410e25ea643ecb0175ed49a078088c7ab4d88db323ee19a230 # [win]
14+
15+
build:
16+
number: 0
17+
script:
18+
- mv {{ name }} $PREFIX/bin/ # [unix]
19+
- move {{ name }}.exe %SCRIPTS%\ # [win]
20+
21+
requirements:
22+
host: []
23+
run: []
24+
25+
test:
26+
commands:
27+
- chromedriver --version
28+
- chromedriver --help
29+
30+
about:
31+
home: http://chromedriver.chromium.org
32+
license: BSD-3-Clause
33+
license_family: BSD
34+
license_file: {{ environ['RECIPE_DIR'] }}/BSD-3-Clause.txt
35+
summary: >
36+
ChromeDriver is a standalone server which implements WebDriver's wire
37+
protocol for Chromium.

0 commit comments

Comments
 (0)