# Unable to use getDriver as a wait statement

**URL:** <https://forum.katalon.com/t/unable-to-use-getdriver-as-a-wait-statement/42382>\
**Category:** Desktop Testing\
**Tags:** desktop, windows, katalon-studio\
**Created:** [April 16, 2020, 6:37pm UTC](https://forum.katalon.com/t/unable-to-use-getdriver-as-a-wait-statement/42382 "2020-04-16T18:37:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfskatalon01](https://avatars.discourse-cdn.com/v4/letter/w/f4b2a3/32.png) [@wfskatalon01](https://forum.katalon.com/u/wfskatalon01)\
**Post date:** [April 16, 2020, 6:37pm UTC](https://forum.katalon.com/t/unable-to-use-getdriver-as-a-wait-statement/42382/1 "2020-04-16T18:37:58Z")

</div>

Windows.getDriver().findElement(By.name(“Itinerary”))

I found the name “Itinerary” through windows spy but when I try to use this it didn’t work for me.
