Skip to content

Tag: selenium

XPath doesn’t locate element

I want to scrape links from this page. https://www.youtube.com/results?search_query=food+recepies None of these works for me. Answer This should work for the title. However, there are 27 of them. So, you might want to use Another thing is that you might want to wait until the elements are visible, enabled, cl…

Eclipse-Selenium-Alternative to Thread.sleep()

I am relatively new to the Test Automation and in particular to the Selenium. I am using Selenium Web-driver, Eclipse. One of the biggest problems I am experiencing is that our scripts are crashing due to the Internet speed or server performance. I currently use Thread.sleep() to solve the problem. However it…

Selenium – Find element at other element level

I have following piece of code to read value from one field: In this case I receive an empty string. If I do it in this way with long xpath it reads correct value: So my question is why using findElement at WebElement row doesn’t work. I’d like to do it this way because I need to read more values