java - Selenium and Chrome Console -


we creating animation product in html5/css. animation connect node.js server , reply event animations based on event id sent node.

now, testing purposes, pass in event id animation while not connected node.

so example, open chrome console , enter "test.sendevent(1024)" replies event 1024 on animation.

how can use selenium send "test.sendevent(1024)" message through console animation??

cheers regards j

what need javascriptexecutor object, can driver you're using.

se more info: http://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/javascriptexecutor.html


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -