Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Diego Molina
    Hi @cameronc56, you just need to share the folder with the docker container, check the answer you got in the Zalenium chat
    Cameron Cooks
    Cameron Cooks
    So I am getting it to work running selenium-standalone on my machine
    but I cant get it to work using docker-selenium or zalenium
    I am using webdriverIO - and adding the extension with:
    extensions: [fs.readFileSync('./tmp/hello.crx', 'base64')]
    not sure why that wouldn't work for both cases
    since the extension is just a base64 encoded string being passed in its entirety, it shouldn't matter whether im opening chrome in the docker image or on my host
    and I shouldn't have to share a folder
    any clue why i get this in my docker?
    Hi. I have problems with starting video session:
    2018-02-07 15:36:18,066 INFO spawned: 'video-rec' with pid 971
    2018-02-07 15:36:18,077 INFO success: video-rec entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
    2018-02-07 15:36:18,501 INFO exited: video-rec (exit status 1; not expected)
    can someone help?
    for some reason it is not working with
    -v $(pwd)/videos:/videos
    Can any one help me , I am getting this error on running selenium in jenkins local host 8080
    INFO: Detected dialect: OSS
    _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
    Solved... not enough memory. Thank you....
    HI I have problem with driver.find_elements_by_xpath("//*[contains(@id, 'ptfdamageProposal')]")
    find a webElement but cannot getAttribute('id') over it
    ty in advance
    same xpath in javascript work perfectly
    Diego Molina
    @woodchucker please join https://seleniumhq.herokuapp.com, over there those type of questions get answered much quicker
    Peter Begle
    Was there a recent update to firefox that eliminated the following option to turn off the download dialog box? I no longer see this option browser.download.manager.showWhenStarting in the about:config section of firefox
    is there a new way to turn the download dialog box off?
    sergio fonseca
    Hello guys. How can I interact with chrome extensions with selenium?
    Firdaus Kamaruddin
    hi, is there any guide to integrate selenium hub using docker with windows node? any gotcha that i need to know?
    Joel Pearson
    Do you mean internet explorer inside a windows docker container? It’s not possible at the moment, you can’t have a gui inside a windows docker container at present.

    @elgalu is it possible to pass these 2 variables to the hub docker image? got it from dockerhq
    -e JAVA_OPTS=-Xmx1024m -e GRID_JETTY_MAX_THREADS=2048 i cant find anything in docs, if its not possible, how to add it to my custom image in start-selenium-hub.sh

    java ${JAVA_OPTS} \
    -jar ${SELENIUM_JAR_PATH} \
    -port ${SELENIUM_HUB_PORT} \
    -role hub \
    -maxSession ${MAX_SESSIONS} \
    -timeout ${SEL_RELEASE_TIMEOUT_SECS} \
    -browserTimeout ${SEL_BROWSER_TIMEOUT_SECS} \
    -cleanUpCycle ${SEL_CLEANUPCYCLE_MS} \
    -Xmx1024m \

    like that?

    Leo Gallucci
    Yes you could do that @Shinoby1992 , if you believe this is a convenient default maybe you could send a pull request with the change
    im not sure if thats a good idea, i never send any pull requests, so i don't even know whats important for structure ect.
    but i can tell these both settings should be included in elgalu image because these too factors / values can give a performance boost if using many instances
    im now mixing the original docker hub and use the dockerhq hub image with elgalu node image
    the hub runs better with these settings set than without
    Has anyone used any of the unofficial bindings for Selenium+Golang?
    I see some stuff on Github, but wondering if anyone here actually uses it.
    Nicolás Mercado

    Hi, everyone.
    Thanks for docker-selenium.
    I had a question that's bugging me.
    I'm finding issues when trying to hit a linked container using an alias.
    For example:

                        - "my-site.dev"
                - 80:80
            image: selenium/standalone-chrome
                - /dev/shm:/dev/shm
                - wordpress

    If I bash into the selenium container, I can curl the alias without issues. But when I ran autotests I'm not able to reach the host. If I use the service name, though, Selenium can find it without problems.
    Any help is appreciated.

    Jeff Dickey

    We've been stumped trying to figure out how to get Selenium JavaScript testing working with our Dockerised Ruby (Hanami) app. For spec examples that don't depend on JavaScript, of course, the Capybara-default Rack::Test driver is adequate, but every modern app depends on JavaScript for one thing or another, and ours is/will be no different.

    I've read a few of the answers on SO, and started rifling through GitHub looking for random similar projects, but we've been stopped for an increasingly politically unsustainable length of time here.

    I've written up a Gist at https://gist.github.com/jdickey/b8065ae63f19c87939d13f3b22e40b72

    To summarise:

    1. We can run JavaScript-using feature specs successfully if no non-JS specs are run in the same rake invocation. (We use jbodah/minitest-tagz to filter spec invocations);
    2. When running our full set of specs, Firefox Marionette hangs when running a JavaScript-enabled example, with its log message indicating that it does not have the IP address it should be connecting to.

    Any help greatly appreciated

    Raj Vasikarla
    Hello, i have a node app running in my local and i able to access the app using https://localhost:8080. I started elgalu image in my local and vnc into it. When i try to access the same url, its unable to load the page. Am i missing anything here? kindly help . @elgalu : please help
    hey guys,
    anybody knows how to set browserTimeout via zalenium platform? im having problems with the agents closing after 60 sec with error on keep-alive, we are using C#
    Konstantin Bläsi
    increasing the number of browser instances/slots is not recommended according to https://github.com/SeleniumHQ/docker-selenium#increasing-the-number-of-browser-instancesslots
    I am using protractor and want to parallelize the tests . The protractor config is using maxInstances: N and shardTestFiles: true to run N test/spec files at a time. I am using the selenium/hub:3 and selenium/node-chrome:3 docker images. Would I just create N instances of selenium/node-chrome:3 and that's it?
    Alina V.
    Hey guys, I'm quite new to docker, need your advice!
    We are running e2e tests using docker-selenium and dosel/zalenium and faced with the issue that some tests are passing locally and crashing on docker execution. I thought that it has been caused by the browser version differences - pulled the latest images' version, but still the test is crashing in the same way. Please take a look at the test execution on local and zalenium (please note that scroll on zalenium video is manual):
    do you know what could cause this difference?
    chromedriver version in both cases is 2.45 ..., browser version is 71. ...
    @AlinaVasylieva do you have an error message? maybe im facing the same problem..
    Alina V.

    No @garryg1993 , just regular test fail :(

    But it is cause by the different browser behaviour. In one case, click action is working as intended - scrolls to the element and clicks, in other - it doesn't scroll to the element, thus I'm getting timeout

    oh, thats a different problem.. sorry i cant help with that
    Alina V.
    @garryg1993 thanks anyway
    Hello everybody. One another question with Zalenium. I need to findout way, to get ssesion ID, to attach link for vide in Zelando dashboard to my report. Can anybody help me?

    Hello everyone
    I am having a strange issue with docker-selenium.
    I am using Chrome Preferences in capabilities to automatically allow any notifications as below config in protractor
    browserName: chrome,
    shardTestFiles: true,
    maxInstances: 5,
    chromeOptions: {
    args: [
    prefs: {
    'download': {
    'prompt_for_download': false,
    'directory_upgrade': true,
    'default_directory': downloadDir
    'profile.managed_default_content_settings.notifications': 1


    The same config works fine while using a webdriver-manager based chromedriver session. But fails in Docker-Selenium.

    Alina V.
    Hey guys, not sure if the channel is correct, sorry in advance if this question is not relevant.
    Need a hand, as I'm quite new to Zalenium and docker itself.
    We are now trying to run Zalenium on AWS and the issue is that we can connect to the HUB, but have no idea how to connect to the agent?
    So I'm getting this error ERROR: getaddrinfo ENOTFOUND https https:80
    Could somebody advise how to initialise the agent's port in config file?
    We are using NodeJs, wdio and npm
    Hey Guys! Anyone used Azure Devops?
    Hana Bizhani
    Hi, Does elgalu/selenium linux based? if I want to run zalenium, how can I have a windows based selenium? Goal is Cross Browser Testing our scripts on different versions of firefox on windows
    Hi to all, maybe somebody has a project with webdriverio+selenium in docker-compose, share a link, please.
    Thank you in advice!

    How to translate the files using google translator via selenium

    I come across https://translate.google.com/ which translates given text to the desired language.

    I have nearly 2,000 files with each file of 300 KB each.

    Currently i need to open each file, paste few text and translated it the above web-site and save it?

    Is there a way to automate for the 2,000 files by reading and sending portion of string and finally append to the file. Repeat for the same for all files


    Will the IP addressed will be blocked?
    Is it illegal to use selenium for this purpose?
    Is there a legal automated way to translate using the above free service?
    If nothing is possible, i need to do it manually

    please advise.


    can someone help me how to select the language via selenium in https://translate.google.com/ ???
    How to iterate with several pages? How to exit a page ? How to use for loop to navigate the same page by closing and opening several times in selenium ?


    I have huge text files - raw text. I want to convert them to a different language. Google/Microsoft/Yandex is best for online conversions. However we need to copy and paste and moreover it has size limitation as well.

    Is there is any tool which i can use for bulk conversion at one shot which can give the output in multiple files.

    Thanks in advance.