New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing SignalR with Selenium #293

kevinrjones opened this Issue Apr 4, 2012 · 2 comments


None yet
2 participants
Copy link

kevinrjones commented Apr 4, 2012

Not sure if this is the right place to raise this or if there's some other forum.

I'm trying to test a web-site through Selenium.WebDriver. The site uses SignalR. I have code that looks like:

$(function () {
    var notifyHub = $.connection.notifier;

    $.connection.hub.start(function () {

The way Selenium/WebDriver works is that you call driver.Navigate().Url(), this call is not returning, I think because the underlying driver does not detect that the page has loaded. If I change the SignalR code to use long-polling then the Selenium code works.

I have a relly simple example that shows this if you would like it.



This comment has been minimized.

Copy link

davidfowl commented Apr 6, 2012

I don't use Selenium or have an idea how it works. Maybe someone else will give you an answer or you can try posting this question to stackoverflow to see if you get one.


This comment has been minimized.

Copy link

davidfowl commented Apr 11, 2012

Maybe try asking this question on stackoverflow for more visibility.

@davidfowl davidfowl closed this Apr 11, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment