Only in internet explorer when executing browser.ClickButton("Add")
When trying to find this button:
<button class="add-modal-button btn btn-sm btn-primary pull-right" type="button" data-bind="click: addMappedSystem">Add</button>
I get this error:
SetUp : OpenQA.Selenium.InvalidSelectorException : The xpath expression './/*[(((name() = "input") and (@type = "button" or @type = "submit" or @type = "image" or @type = "reset")) or (name() = "button") or (contains(@class,' button') or contains(@class,'button ') or contains(@class,' button ') or contains(@class,' btn') or contains(@class,'btn ') or contains(@class,' btn ')) or @role = "button" ) and ((@id = "Add" or @name = "Add" ) or (@value = "Add" or @alt = "Add" or normalize-space() = "Add" ))]' cannot be evaluated or does notresult in a WebElement
any thoughts?