When using selenium, I have a web element that I want to select. The WebElement.IsDisplayed()
method returns true
,
but I am unable to perform the webelement.click()
operation.
port_dimension = canvas.find( By.xpath( "//*[local-name() = 'rect'][@visibility='visible' and @height = '22']" ) ); //$NON-NLS-1$
port_dimension.getElement().click();