Run selenium tests without browser showing

199 views
Skip to first unread message

allenr...@gmail.com

unread,
May 2, 2016, 2:48:08 PM5/2/16
to Selenium Users
Can i run some selenium tests without the firefox browser opening ?

I have too many tests now and it takes too long to run them all. I'd rather be doing productive stuff while the tests are running.

anemuday

unread,
May 2, 2016, 3:28:12 PM5/2/16
to Selenium Users
Try HtmlUnitDriver in place of your Chrome or Firefox driver.

Thanks,
Uday

⇜Krishnan Mahadevan⇝

unread,
May 2, 2016, 11:19:32 PM5/2/16
to Selenium Users
I would recommend using PhantomJS instead of HtmlUnitDriver. jBrowserDriver could be started off with [https://github.com/MachinePublishers/jBrowserDriver/ ]

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/9ede1869-82ba-44cb-874c-f75acbfc938c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Shawn McCarthy

unread,
May 3, 2016, 12:14:49 AM5/3/16
to Selenium Users
Another option could be to use the docker-selenium project to have a selenium grid using docker containers. It is nice because the browsers will open in the containers and you won't see them.

Ripon Al Wasim

unread,
May 3, 2016, 12:16:38 AM5/3/16
to seleniu...@googlegroups.com
You can use Headless testing using HtmlUnitDriver, PhantomJSDriver etc.

On Mon, May 2, 2016 at 11:40 AM, <allenr...@gmail.com> wrote:
Can i run some selenium tests without the firefox browser opening ?

I have too many tests now and it takes too long to run them all. I'd rather be doing productive stuff while the tests are running.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages