I have some code in selenium/python, which used to work, But now I'm getting:
javascript error: Right-hand side of 'instanceof' is not an object
I don't know if it's something that was changed in the angular application, or how this error is relevant to what I'm doing. I get it after trying to locate a webelement or waiting for visibility of element, like:
wait.until(expected_conditions.visibility_of_element_located(leftNav_page.pageSmallTitle))
"pageSmallTitle" is just a locator like:
pageSmallTitle = (By.CSS_SELECTOR, "span[id$='componentTitle']")
Tried changing it to xpath, but didn't make a difference.
I would highly appreciate any suggestion!