Open kazurayam opened 7 months ago
The message
WebElementNotFoundException: Web element with id: 'By.cssSelector: img#apple' located by '//[@cssSelector = 'img#apple']' not found (Root cause: com.kms.katalon.core.exception.StepFailedException: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: 'By.cssSelector: img#apple' located by '//[@cssSelector = 'img#apple']' not found
is totally puzzling.
It seems that the TestObject instance created by TestObjectExension.create(By) method is bad.
Reproducible by https://github.com/kazurayam/ks_comparingElementScreenshots_using_Inspectus/tree/issue3
Run the "Test Cases/MyApple/main", will fail with following messages: