We reached a new milestone few days ago. It was about 2 years ago that we cross 1 million page views. We crossed a new mile stone few days ago. seleniumtests.com crossed 2 million page views days ago. Though addition on a million page views in not spectacular in span on 2 years but probably an indicator of popularity of a private blog. Last but not the least, seleniumtests.com would not have reached this milestone with out all of you. A big thanks to all of you :-)
Note: If you are new to java and selenium then start with selenium java training videos . I prefer css locator over xPath but there are times when css locators don't fit requirement. One such requirement is when you want to navigate to parent element of an element and may be parent of parent and even more. Unfortunately css locators don't provide any mechanism to navigate to parent of an element. See this for more. Of late I came across a scenario when I wanted to click on a link depending upon the text in a text box. Herein parent of text box and parent of link were at the same location. More over there could have been many such combinations in application. Fortunately I just need to pick first such instance and Web Driver any way considers only first instance when multiple locators are found matching an element. Element in question is in following html - Here I need to click on highlighted anchor on the basis of input element (which is also hig...
