Hot answers tagged webdriver
Selenium supports various programming languages like Java, Perl, Python, Ruby, C#(.Net) etc. So it's mainly up to you. You should choose the language itself, and not the bindings. If you were to force me to name the language you should use- JAVA. I would have to give you the famous then- Java is a my first choice to start with Selenium(even if it is a bit ...
There is another tool to record page object model. below is the link: http://seleniumrecorder.blogspot.com/
You may use this- Xpath1= //a[contains(.,'Create a Rediffmail account')] OR Xpath2=//a[contains(@href,'details')] OR Xpath3=.//*[@id='toprightinfo']/a Or you try with other Locator types as- LinkText Check I have tried & found 1 match xpath-
Selenium has bindings for the most common languages (see http://www.seleniumhq.org/download/) so use the one either you know best, and/or the one your development team uses for easier integration in the development cycle and common use of tools.
Find the common denominator to find the elements for the product by (preferably including the Add to Cart button) and then iterate over the Array/List/Enumerable and verify that it contains the Add to Cart button.
I'd take a look at http://caniuse.com/#compare=chrome+51,safari+9.1; that shows what HTML5 constructs Chrome/Blink allow that Safari (and hence webkit) don't. Also, according to http://phantomjs.org/supported-web-standards.html, Support for plugins (such as Flash) was dropped a long time ago. The primary reasons: Pure headless (no X11) makes it ...
Only top voted, non community-wiki answers of a minimum length are eligible