[WebUI] Wait For Element Not Has Attribute doesn't work as expected

**OS: **Windows 10

Katalon Studio Version: 5.3.1.

## Environment (for Web testing):

Browser: Chrome 62

## Steps to reproduce -

When using WebUI.waitForElementNotHasAttribute command, I got the following:

04-06-2018 01:18:53 PM - [START]  - Start action : waitForElementNotHasAttribute
04-06-2018 01:18:53 PM - [INFO]   - Finding Test Object with id 'Object Repository/Recepti/span_Spremi'
04-06-2018 01:18:53 PM - [INFO]   - Checking object
04-06-2018 01:18:53 PM - [INFO]   - Checking attribute name
04-06-2018 01:18:53 PM - [INFO]   - Checking timeout
04-06-2018 01:18:53 PM - [INFO]   - Checking timeout
04-06-2018 01:18:53 PM - [INFO]   - Finding web element with id: 'Object Repository/Recepti/span_Spremi' located by 'By.cssSelector: button[data-target="save"] .ui-button-text' in '10' second(s)
04-06-2018 01:18:53 PM - [INFO]   - Found 1 web elements with id: 'Object Repository/Recepti/span_Spremi' located by 'By.cssSelector: button[data-target="save"] .ui-button-text' in '10' second(s)
04-06-2018 01:19:04 PM - [WARNING] - Object 'Object Repository/Recepti/span_Spremi' has attribute 'style'
04-06-2018 01:19:04 PM - [END]    - End action : waitForElementNotHasAttribute

So, the object has the ‘style’ element, but the step is passed, even though my code says:

 WebUI.waitForElementNotHasAttribute(findTestObject('Object Repository/Recepti/span_Spremi'), 'style', 10, FailureHandling.STOP_ON_FAILURE)

Hi Mate

Certainly in HTML terms, the style attribute is different to regular attributes since it handles a collection of style properties which cannot be removed. So your code will never find the style to be not present as an attribute – it’s beyond the reach of any code outside of the browser’s rendering engine.

Sorry. You’ll need to find another way.

Russ

Thanks!