Skip to content

Selenium TIMEOUT #264

Closed
Closed
@Bernardoow

Description

@Bernardoow

Hi Guys !!

Maybe it can be a noob question. Sorry :X

I'm a begginer with docker..
I'm using Selenium a few months ago. And I created a crawler with it. The Crawler use selenium for get information. I Open the browser and keep it runing for some days (without docker).

But when I put on docker, its running one time and throw exception was terminated due to TIMEOUT.

I searched on issues and find explation like that https://github.com/mozilla/moz-grid-config/blob/master/hub_configuration.json#L2. I use docker-composer and don't know how put composer.

Somebody can sugest me something?

Composer FILE:

selenium_hub:
image: selenium/hub
ports:
- 4444:4444

node_2:
image: selenium/node-firefox
links:
- selenium_hub:hub

crawler:
restart: always
build: ./crawler
env_file: .env
links:

  • postgres:postgres
  • node_2:node_2

    - chrome:chrome

    command: python /usr/src/app/crawlerv2.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions