Test create plot with selenium or qunit

I create a plot in my django wepapp and push the plot to the bokeh server to show it on my webpage. To test if the plot shows the correct data, in the correct way i want to write some unit test with selenium or some other framework. Is there a way to access the autocreated js objects?
Thank for you,