How to run selenium test on edge browser on Jenkins in headless mode

yeshwanth kv 0 Reputation points
2024-03-08T05:55:18.8966667+00:00

We are running Selenium tests on Jenkins and When trying to run tests on Edge browser on Jenkins Browser does not launch. I understand it is due to headless mode. How do we configure edge to run it in headless mode. Does edge support headless mode on Jenkins.

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,114 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShiJieLi-MSFT 7,231 Reputation points Microsoft Vendor
    2024-03-08T07:45:13.5833333+00:00

    Hi @yeshwanth kv,

    By default, Jenkins uses headless mode, so Edge supports headless mode on Jenkins. You don't need to configure anything. That's what you have already got in your test.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards,

    Shijie Li