there is no need to append device details for NoSuchElement exception
Closed this issue · 4 comments
vdelendik commented
let's don't append [[[...]]]
for NoSuchElementError
Encountered internal error running command: An element could not be located on the page using the given search parameters.[[[--udid 00008101-000211420C05001E --name iPhone_12 --sessionId c3c65c7f-be0b-4f92-98b5-38ef59c3034b]]]
vdelendik commented
we are trying to minimize appium updates. Ideally we want to remove this exception customization at all. The only problem howto return valid device metadata for successful and especially unsuccessful driver sessions
vavadikb commented
steps for qa
- build appium from develop branch
- start any test which tries to find an element that does not exist to get NoSuchElement exception
- look at the logs and check that device details does not exists [[[...]]]
dhreben commented
Verified.
Tested on APPIUM_VERSION: 2.0.12
org.openqa.selenium.NoSuchElementException:
12:18:06 no such element By.xpath: //*[text()='Get a quote']
12:18:06 For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception