ChromeDriver hangs after launch on Linux [continued]

12 views
Skip to first unread message

cburroughs

unread,
Jul 7, 2010, 4:18:33 PM7/7/10
to webdriver, pna...@gmail.com
http://groups.google.com/group/webdriver/browse_frm/thread/f9bc4e2c94d5807f/68e8c8104ece5532

Google Groups won't let me reply after so long so I am continuing
here. I have the same issue with 2.0a4. I don't see any js errors
nor anything from java-land. The chrome extension dev mode background
log is below. Please let me know if there is any other information I
can provide.

background.js:1026resetting current content script wait time
background.js:334Sending result by XHR: ""
background.js:364Sent result by XHR: ""
background.js:395GOT XHR RESPONSE:
{"request":"getCurrentWindowHandle"}
background.js:402Got request to execute from XHR:
{"request":"getCurrentWindowHandle"}

Daniel Wagner-Hall

unread,
Jul 7, 2010, 5:41:13 PM7/7/10
to webdriver, pnakhat
Can you give us a test-case and web-page you're executing?

> --
> You received this message because you are subscribed to the Google Groups "webdriver" group.
> To post to this group, send email to webd...@googlegroups.com.
> To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.
>
>

cburroughs

unread,
Jul 8, 2010, 10:53:37 AM7/8/10
to webdriver
Okay in trying to get a minimal test case I think I've narrowed down
the problem and it doesn't actually look platform specific.

I'm using this example code: http://seleniumexamples.com/blog/examples/play-pacman-with-selenium-2/

If one replaces FirefoxDriver with ChromeDriver the page loads
correctly. However adding the following line causes java to just sit
there consuming CPU and never continue.

WebDriverBackedSelenium selenium = new WebDriverBackedSelenium(driver,
"");

On Jul 7, 5:41 pm, Daniel Wagner-Hall <dawag...@gmail.com> wrote:
> Can you give us a test-case and web-page you're executing?
>
> On 7 July 2010 21:18, cburroughs <chris.burrou...@gmail.com> wrote:
>
> >http://groups.google.com/group/webdriver/browse_frm/thread/f9bc4e2c94...

cburroughs

unread,
Jul 8, 2010, 1:20:12 PM7/8/10
to webdriver
If it helps this line would do the same thing (cpu pegs, never
progresses) with the ChromeDriver:
parWindow = this.driver.getWindowHandle();

Notus

unread,
Jul 13, 2010, 3:58:08 AM7/13/10
to webdriver
I met the same problem, when webdriver talking to chrome, it seems
that the loop to talk to Chrome will never be end.

cburroughs

unread,
Jul 16, 2010, 11:56:28 AM7/16/10
to webdriver
I have opened a ticket for this issue: http://code.google.com/p/selenium/issues/detail?id=655
Reply all
Reply to author
Forward
0 new messages