Display results as :

Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara


Selenium Rc on CentOS

View previous topic View next topic Go down

Selenium Rc on CentOS

Post by SQA on Wed Jul 11, 2012 4:06 pm

I run my selenium Rc code on the CentOS machine, and it gives me the custom firefox profile error
Can any one help me see below error:

12:25:55.736 INFO - Preparing Firefox profile...
Error: cannot open display: :0
12:26:21.823 ERROR - Failed to start new browser session, shutdown browser and clear all session data
java.lang.RuntimeException: Timed out waiting for profile to be created!
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.waitForFullProfileToBeCreated(
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.populateCustomProfileDirectory(
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launch(
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launchRemoteSession(
at org.openqa.selenium.server.browserlaunchers.FirefoxLauncher.launchRemoteSession(
at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(
at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(
at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(
at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(
at org.openqa.jetty.http.HttpContext.handle(
at org.openqa.jetty.http.HttpContext.handle(
at org.openqa.jetty.http.HttpServer.service(
at org.openqa.jetty.http.HttpConnection.service(
at org.openqa.jetty.http.HttpConnection.handleNext(
at org.openqa.jetty.http.HttpConnection.handle(
at org.openqa.jetty.http.SocketListener.handleConnection(
at org.openqa.jetty.util.ThreadedServer.handle(
at org.openqa.jetty.util.ThreadPool$
12:26:21.839 INFO - Got result: Failed to start new browser session: Error while launching browser on session null


Posts : 1
Join date : 2012-07-11

Back to top Go down

Re: Selenium Rc on CentOS

Post by tarun3kumar on Thu Jul 12, 2012 12:27 pm

Looks like CentOS does not have any display. Does it?
You may need Xvfb to execute tests on headless mode.
This post of mine might help -

Tarun K
Free Selenium Training


Posts : 186
Join date : 2012-02-14

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum