Remote Network And System Administration Job In IT And Networking

Set up selenium and chromedriver on CircleCI to run with Elixir/Hound

Find more Network And System Administration remote jobs posted recently Worldwide

The idea candidate should be familiar with CircleCI and Selenium. Here is our current (broken) CircleCI configuration:
```
version: 2
jobs:
build:
parallelism: 1
docker:
- image: circleci/elixir:1.7.4-node-browsers
environment:
MIX_ENV: test
- image: redis:3.0.6
- image: circleci/postgres:9.5.11-alpine
environment:
POSTGRES_USER: ubuntu
POSTGRES_DB: circle_test
POSTGRES_PASSWORD:

steps:
- checkout

- run: mix local.hex --force
- run: mix local.rebar --force
- run: ./scripts/install-lp mix
- run: mix do deps.get, deps.compile, compile, ecto.migrate
- run: npm install
- run: ./node_modules/.bin/webpack
- run: mix phx.digest

- type: shell
name: Initialize Working Directory
pwd: /
command: |
mkdir /tmp/screenshots

# Setup for chromedriver and selenium ====================================
- run:
name: Running selelnium server in the background
========================================================================

- run: mix test --exclude not_working --exclude languages
- run: npm test

- store_artifacts:
path: /tmp/screenshots

- save_cache:
key: dependency-cache
paths:
- vendor/bundle
- -/dependencies
- -/.mix
- _build
- deps
```
Currently, tests run successfully locally once `xvfb-run java -Dwebdriver.chrome.driver=/usr/bin/chromedriver -jar selenium-server-standalone-3.141.59.jar` is running. When we try to run the tests on CircleCI, we are unable to connect.

The objective is to get the tests running and passing on a display (maybe XVFB) that has a configurable resolution.

Full selenium-logs attached as a file.

```
22:01:04.220 INFO - Selenium Server is up and running
22:06:07.308 INFO - SessionCleaner initialized with insideBrowserTimeout 0 and clientGoneTimeout 1800000 polling every 180000
22:06:07.328 INFO - Executing: [new session: Capabilities [{ rotatable=false, nativeEvents=false, browserName=chrome, takesScreenshot=true, javascriptEnabled=false, chromeOptions={ args=[--user-agent=Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36]} , version=, cssSelectorsEnabled=true, platform=ANY} ]])
22:06:07.343 INFO - Creating a new session for Capabilities [{ rotatable=false, nativeEvents=false, browserName=chrome, takesScreenshot=true, javascriptEnabled=false, chromeOptions={ args=[--user-agent=Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36]} , version=, cssSelectorsEnabled=true, platform=ANY} ]
Starting ChromeDriver 74.0.3729.6 on port 27796
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
[1558389967.548][SEVERE]: bind() failed: Cannot assign requested address (99)
22:06:08.363 INFO - Detected dialect: OSS
22:06:08.377 INFO - Done: [new session: Capabilities [{ rotatable=false, nativeEvents=false,
```
About the recuiter
Member since May 20, 2018
See Marry
from Virginia, United States

Skills & Expertise Required

Automated Testing Selenium Selenium WebDriver Web Testing 

Candidate shortlisted and hiredHiring open till - May 21, 2020

Work from Anywhere

40 hrs / week

Hourly Type

Remote Job

$13.90

Cost

Looking for help? Checkout our video tutorial
How to search and apply for jobs

How to apply? Do you have more questions about the Job?
See frequently asked questions

Similar Projects

security testing for website and try database extract

Hello ,

We try to find a freelancer for security testing
the mission is website penetration testing and database extract

Need help in Selenium

Need help in selenium using cucumber framework. I have all the scenarios need a java scripts for that.

Need software QA consultant

We are a community of volunteers who support our users and one another as we develop a free, open source software requirements management tool (OSRMT) that gives everyone an alternative to expensive, proprietary commercial products.

In our...read more