ghostbuster icon indicating copy to clipboard operation
ghostbuster copied to clipboard

Plans for multiple session support?

Open nickmerwin opened this issue 13 years ago • 0 comments

I'm imagining writing something like this to test user to user interactions via websockets:

phantom.test.add "Pinging via push", ->
  session1 = @get '/user_1', ->
    @body.click "#pingUser2"

  session2 = @get '/user_2', ->
    @body.assertFirst ".newPings", (ping)-> ping.innerHTML == "user_1"
    @wait 1, ->
      @succeed()

Is something like it in the works? Or would it necessitate a complete overhaul?

Thanks!

nickmerwin avatar Jan 25 '12 21:01 nickmerwin