I am trying to find the presence of an element by finding the length of the jquery.
How can we capture the length of a webelement in a variable, so that I can check the value of the variable to make decision.
Or is there any other way to accomplish the same result. I am using python, selenium webdriver and JQuery. Thanks in advance.
We can Use this Funda
If driver.findElements(By.id(id)).size() > 0 Then
  Element Present;
Else
  Element Not Present
Same Applies for Value.
Please Let me know is my Funda OK or NOT.
When using python and selenium how to find the presence of an element based on id and value