How to run selenium script in AWS Linux Console using chrome browser?

213 views
Skip to first unread message

Poovaraj

unread,
Sep 13, 2018, 1:10:20 PM9/13/18
to seleniu...@googlegroups.com
Hi,

How to run selenium script in AWS Linux Console using chrome browser?

Tools :  Java,  Selenium
OS : AWS Linux Console (GUI is not available)
Browser:  Chrome

Regards,
Poovaraj

DT

unread,
Sep 14, 2018, 3:11:57 AM9/14/18
to Selenium Users
You can go either for headless chrome (the functionality is available since Chrome 59). All you need to do is to create ChromeOptions class instance and add headless argument. More information: RUNNING SELENIUM WITH HEADLESS CHROME

Another option is using "normal" chrome in combination with Virtual Framebuffer so Chrome will be running in a virtual display instead of the real one.  Check out Headless Execution of Selenium Tests in Jenkins article for comprehensive configuration instructions.

Vikas Thange

unread,
Sep 17, 2018, 11:07:47 AM9/17/18
to seleniu...@googlegroups.com
Hi ,

I have been using Amazon Cloud EC2 ubuntu instance from long time for selenium browser GUI tests automation. 

Few years back I had GRID as ubuntu and nodes as wondows server edition on aws cloud. but from couple of years I am using docker image selenoid on ubuntu to run tests. you can try with selenoid docker image from docker hub.

Vikas Thange.
Subscribe to my channel : http://youtube.com/c/vikasthange

--
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/87cbded2-8214-4943-958e-25648dea316c%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Rochak Bhalla

unread,
Sep 19, 2018, 4:28:54 PM9/19/18
to seleniu...@googlegroups.com
You can run headless chrome on Linux machine

--
Reply all
Reply to author
Forward
0 new messages