Skip to content

Commit 2037ba6

Browse files
author
Jean-Christophe Maigrot
committed
Add RequestsLibrary in Docker Image.
- Requests Library version is set as env variable - Add a Test using a Keyword from RequestsLibrary
1 parent 148e1ba commit 2037ba6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ ENV FIREFOX_VERSION 62.0*
2323
ENV GECKO_DRIVER_VERSION v0.19.1
2424
ENV PABOT_VERSION 0.43
2525
ENV PYTHON_PIP_VERSION 9.0.*
26+
ENV REQUESTS_VERSION 0.4.7
2627
ENV ROBOT_FRAMEWORK_VERSION 3.0.4
2728
ENV SELENIUM_LIBRARY_VERSION 3.1.1
2829
ENV XVFB_VERSION 1.19.*
@@ -45,6 +46,7 @@ RUN pip install \
4546
robotframework==$ROBOT_FRAMEWORK_VERSION \
4647
robotframework-faker==$FAKER_VERSION \
4748
robotframework-pabot==$PABOT_VERSION \
49+
robotframework-requests==$REQUESTS_VERSION \
4850
robotframework-seleniumlibrary==$SELENIUM_LIBRARY_VERSION
4951

5052
# Download Gecko drivers directly from the GitHub repository
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
*** Settings ***
2+
Library RequestsLibrary
3+
4+
*** Test Cases ***
5+
Create Session On Google
6+
[Tags] 108 RequestsLibrary
7+
Create Session Test-Session https://www.google.com

0 commit comments

Comments
 (0)