power_settings_new

Get Data Chrome phantomjs

by (82 points)
+1 vote
120 views
Hi,

 I use this to get data.

var formdescritpion = ObjectRepository.Driver.FindElement(By.XPath("//div[@class='sr-pill-pane sr-active']")).Text;

Problem is when I use PhantomJs I can'get data I can't readline but If I use Chrome I can get data why ?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
add
...