Skip to content

Add option to start browser headless #242

Closed

Description

@IlfirinPL

Add option to start browser headless or other way that will not be visible to user.
ex. start as hidden window

Activity

  1. mayask commented on Oct 17, 2013

    @mayask

    You could try HtmlUnit or PhantomJS browser emulators. They're trying to mimic the real browser behaviour programatically. See more here http://rtomac.github.io/robotframework-selenium2library/doc/Selenium2Library.html#Open%20Browser

  2. IlfirinPL commented on Oct 18, 2013

    @IlfirinPL
    ContributorAuthor

    Its not solution I am looking for, I want to test using FF, and since test capture page screenshot i dont need to see browser itself, I think it should be easily done since for example jenkins add slave node of selenium as headless

  3. j1z0 commented on Oct 18, 2013

    @j1z0
    Contributor

    To run Firefox headless on Jenkins you use a virtual frame buffer like xvfb.

    You can also look at saucelabs and run against any browser in the cloud without you having to watch. Use SAUCE5 for the discount code if you decide to use sauce.

    Either option u choose will work with RF but they are not part of RF.

    Cheers,
    Jeremy

    On Oct 18, 2013, at 15:01, IlfirinPL notifications@github.com wrote:

    Its not solution I am looking for, I want to test using FF, and since test capture page screenshot i dont need to see browser itself, I think it should be easily done since for example jenkins add slave node of selenium as headless

    —
    Reply to this email directly or view it on GitHub.

  4. ombre42 commented on Oct 2, 2014

    @ombre42
    Contributor

    Jeremy has provided a sufficient answer.

  5. ponkar commented on Oct 9, 2014

    @ponkar

    May i know what is the sufficient answer provided here ?

  6. jimpriest commented on Dec 4, 2017

    @jimpriest

    Would it be worth re-opening this given that both Firefox and Chrome both now natively support a headless mode?

  7. aaltat commented on Dec 8, 2017

    @aaltat
    Contributor

    Yes it could be a good idea. There actually is a PR for the fix proposal in #1011

  8. reopened this on Dec 8, 2017
  9. modified the milestones: v3.1.0, v3.2.0 on Dec 8, 2017
  10. aaltat commented on Dec 9, 2017

    @aaltat
    Contributor

    After reading the issue, it is better to create a new issue, because this issue contains details which creates noise and that is not required.

  11. pekkaklarck commented on Dec 10, 2017

    @pekkaklarck
    Member

    Always a good idea to refer to the new issue as well. In this case #1014.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions