Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
248 views
by Contributing Tester (82 points)
edited by
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 ?

Please log in or register to answer this question.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...