why not find element code example
Example: why not find element
Could be several reasons for example
-Locator changed
-There is an iframe
-Waiting time issue, page is loading slowly
-Element is dynamic, locator cannot find it. Use dynamic locator.
-Page is not fully loaded/opened. This is also waiting time issue
-Page changes and that element does not exist anymore